aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/cimg
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2017-10-28 16:04:31 +0800
committerthierry <thierry@FreeBSD.org>2017-10-28 16:04:31 +0800
commit121ebdf7e92d7f6d5dcb1e05a6e81c727ca47cab (patch)
treeedf380864345bcaaaffe7a47b4cd978e262c3d1c /graphics/cimg
parent5825ea616bf5ff76950417738b25e1f03ef14d26 (diff)
downloadfreebsd-ports-gnome-121ebdf7e92d7f6d5dcb1e05a6e81c727ca47cab.tar.gz
freebsd-ports-gnome-121ebdf7e92d7f6d5dcb1e05a6e81c727ca47cab.tar.zst
freebsd-ports-gnome-121ebdf7e92d7f6d5dcb1e05a6e81c727ca47cab.zip
Remove OpenEXR support, due to unfixed vulnerabilities.
Reported by: mandree Sponsored by: HAMoween'17
Diffstat (limited to 'graphics/cimg')
-rw-r--r--graphics/cimg/Makefile2
-rw-r--r--graphics/cimg/files/patch-examples__Makefile16
2 files changed, 11 insertions, 7 deletions
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
index 37d4c3dc99e9..c295807189dd 100644
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -3,6 +3,7 @@
PORTNAME= cimg
DISTVERSION= 2.1.3
+PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= graphics devel
@@ -53,7 +54,6 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \
libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libHalf.so:graphics/ilmbase \
- libIlmImf.so:graphics/OpenEXR \
libgimp-2.0.so:graphics/gimp-app \
libfftw3.so:math/fftw3 \
libopencv_legacy.so:graphics/opencv \
diff --git a/graphics/cimg/files/patch-examples__Makefile b/graphics/cimg/files/patch-examples__Makefile
index 8ba8f49da398..5fa125ee5021 100644
--- a/graphics/cimg/files/patch-examples__Makefile
+++ b/graphics/cimg/files/patch-examples__Makefile
@@ -1,4 +1,4 @@
---- examples/Makefile.orig 2017-08-19 21:27:17 UTC
+--- examples/Makefile.orig 2017-10-27 09:00:53 UTC
+++ examples/Makefile
@@ -84,7 +84,7 @@ CIMG_EXTRA_FILES = use_tiff_stream use_j
# Set correct variables and paths
@@ -60,14 +60,18 @@
# Flags to enable native support for MINC2 image files, using the MINC2 library.
# ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide )
-@@ -211,14 +211,14 @@ CIMG_MINC2_LIBS = -lminc_io -lvolume_io2
+@@ -210,15 +210,15 @@ CIMG_MINC2_LIBS = -lminc_io -lvolume_io2
+
# Flags to enable native support for EXR image files, using the OpenEXR library.
# ( http://www.openexr.com/ )
- CIMG_OPENEXR_DEFINE = -Dcimg_use_openexr
+-CIMG_OPENEXR_DEFINE = -Dcimg_use_openexr
-CIMG_OPENEXR_INCDIR = -I/usr/include/OpenEXR
-+CIMG_OPENEXR_INCDIR = -I$(LOCALBASE)/include/OpenEXR
- CIMG_OPENEXR_CFLAGS = $(CIMG_OPENEXR_DEFINE) $(CIMG_OPENEXR_INCDIR)
- CIMG_OPENEXR_LIBS = -lIlmImf -lHalf
+-CIMG_OPENEXR_CFLAGS = $(CIMG_OPENEXR_DEFINE) $(CIMG_OPENEXR_INCDIR)
+-CIMG_OPENEXR_LIBS = -lIlmImf -lHalf
++#CIMG_OPENEXR_DEFINE = -Dcimg_use_openexr
++#CIMG_OPENEXR_INCDIR = -I$(LOCALBASE)/include/OpenEXR
++#CIMG_OPENEXR_CFLAGS = $(CIMG_OPENEXR_DEFINE) $(CIMG_OPENEXR_INCDIR)
++#CIMG_OPENEXR_LIBS = -lIlmImf -lHalf
# Flags to enable native support for various video files, using the FFMPEG library.
# ( http://www.ffmpeg.org/ )