[Bug 225702] graphics/freeimage: fix build on arm

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 16 00:52:46 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225702

--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 190358
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190358
patch

>Index: graphics/freeimage/Makefile
>===================================================================
>--- graphics/freeimage/Makefile	(revision 460972)
>+++ graphics/freeimage/Makefile	(working copy)
>@@ -24,6 +24,7 @@
> 
> CFLAGS+=	-fexceptions -fvisibility=hidden
> CFLAGS_aarch64=	-fPIC
>+CFLAGS_armv7=	-fPIC
> CFLAGS_amd64=	-fPIC

Landed independently via ports r467443.

>+# armv7 needs <arm_neon.h>
>+.if ${ARCH} == armv7
>+BUILD_DEPENDS+=	${LOCALBASE}/bin/clang50:devel/llvm50
>+CPP=	${LOCALBASE}/bin/clang-cpp50
>+CC=	${LOCALBASE}/bin/clang50
>+CXX=	${LOCALBASE}/bin/clang++50
>+.endif
>+

What is this for? armv7 only exists on -CURRENT which currently has Clang 6.0.
If you've found a Clang bug, please, report it to toolchain at .

> --- Source/LibRawLite/internal/dcraw_common.cpp.orig	2014-02-07 19:48:10 UTC
> +++ Source/LibRawLite/internal/dcraw_common.cpp
>+@@ -2027,7 +2028,7 @@ void CLASS quicktake_100_load_raw()
>+ 
>+ void CLASS kodak_radc_load_raw()
>+ {
>+-  static const char src[] = {
>++  static const signed char src[] = {

Landed independently via ports r467442.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list