On Sun, Dec 03 2017, "Kirill Bychkov" <ki...@linklevel.net> wrote:
> Hi!
> This patch enables build of libraw on other gcc4 arches, not only arm.
> Tested on macppc.
> OK?

This looks heavy-handed to me, why extend this to all non-clang archs,
afaik base-gcc has support for 4-bytes atomics on powerpc.  How does the
build fail exactly?

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/libraw/Makefile,v
> retrieving revision 1.29
> diff -u -r1.29 Makefile
> --- Makefile    16 Nov 2017 23:20:39 -0000      1.29
> +++ Makefile    3 Dec 2017 07:51:00 -0000
> @@ -23,8 +23,6 @@
>  MASTER_SITES =         https://www.libraw.org/data/
>
>  COMPILER =             base-clang ports-gcc
> -# for atomic builtins (__sync_fetch_and_add_4)
> -MODGCC4_ARCHS =                arm
>
>  LIB_DEPENDS =          graphics/jasper \
>                         graphics/lcms2
>
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to