diff --git a/graphics/gmic/Makefile b/graphics/gmic/Makefile index 80281587dae7..70640f73d117 100644 --- a/graphics/gmic/Makefile +++ b/graphics/gmic/Makefile @@ -1,46 +1,46 @@ PORTNAME= gmic -DISTVERSION= 2.9.9 +DISTVERSION= 3.0.0 CATEGORIES= graphics MASTER_SITES= https://gmic.eu/files/source/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for image processing LICENSE= CeCILL LICENSE_NAME= CeCILL LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_i386= error: "c++ crashes, clang-5 and 6 fail: undefined reference to `__atomic_load'" LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libGraphicsMagick++.so:graphics/GraphicsMagick \ libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath \ libopencv_core.so:graphics/opencv \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang jpeg localbase:ldflags pkgconfig USE_LDCONFIG= yes CMAKE_OFF= BUILD_LIB_STATIC CMAKE_ON= ENABLE_DYNAMIC_LINKING WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= OPENMP X11 OPTIONS_DEFAULT= OPENMP X11 OPTIONS_SUB= yes OPENMP_CMAKE_BOOL= ENABLE_OPENMP X11_CMAKE_BOOL= ENABLE_X X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext PORTSCOUT= limit:[0-9]\..* # not v.220 and similar .include diff --git a/graphics/gmic/distinfo b/graphics/gmic/distinfo index a279364bcb8a..491064f030a3 100644 --- a/graphics/gmic/distinfo +++ b/graphics/gmic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630813979 -SHA256 (gmic_2.9.9.tar.gz) = 9f053338752ec96a6b619718037767682c5fd58e2471c08f3740fdb070605bc0 -SIZE (gmic_2.9.9.tar.gz) = 7325061 +TIMESTAMP = 1640380520 +SHA256 (gmic_3.0.0.tar.gz) = 3f056bb9e6dbf0674af4c8dce59f4198172187662f7fbb36cc63ebc8c1b71120 +SIZE (gmic_3.0.0.tar.gz) = 10225122 diff --git a/graphics/gmic/files/patch-CMakeLists.txt b/graphics/gmic/files/patch-CMakeLists.txt index d0d97a0ed54f..e432c8d055fe 100644 --- a/graphics/gmic/files/patch-CMakeLists.txt +++ b/graphics/gmic/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2020-06-15 06:22:09 UTC +--- CMakeLists.txt.orig 2021-12-09 09:25:45 UTC +++ CMakeLists.txt -@@ -100,7 +100,7 @@ set(COMPILE_FLAGS "-Dgmic_build -Dcimg_use_vt100 -Dgmi +@@ -100,7 +100,7 @@ list(APPEND GMIC_CXX_COMPILE_FLAGS -Dgmic_build -Dcimg if(APPLE) - set(COMPILE_FLAGS "${COMPILE_FLAGS} -mmacosx-version-min=10.8 -stdlib=libc++ -Wno-error=c++11-narrowing -Wc++11-extensions -fpermissive") + list(APPEND GMIC_CXX_COMPILE_FLAGS -mmacosx-version-min=10.8 -stdlib=libc++ -Wno-error=c++11-narrowing -Wc++11-extensions -fpermissive) else() -- set(COMPILE_FLAGS "${COMPILE_FLAGS} -Wno-error=narrowing -fno-ipa-sra -fpermissive") -+ set(COMPILE_FLAGS "${COMPILE_FLAGS} -Wno-error=narrowing -fpermissive") +- list(APPEND GMIC_CXX_COMPILE_FLAGS -Wno-error=narrowing -fno-ipa-sra -fpermissive) ++ list(APPEND GMIC_CXX_COMPILE_FLAGS -Wno-error=narrowing -fpermissive) endif() if(NOT "${PRERELEASE_TAG}" STREQUAL "")