aboutsummaryrefslogtreecommitdiff
path: root/graphics/gexiv2
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2018-08-29 09:57:31 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2018-08-29 09:57:31 +0000
commit6182ddf8240d4462592c63ee60fb620a1e1ef56e (patch)
treee6d6b45851c7ec580e2762370fae78de2d36c472 /graphics/gexiv2
parent9b3f32a95e2a57c231a72cef4c18fdb2a5dfd7b5 (diff)
downloadports-6182ddf8240d4462592c63ee60fb620a1e1ef56e.tar.gz
ports-6182ddf8240d4462592c63ee60fb620a1e1ef56e.zip
graphics/gexiv2: avoid crash in gnome-photos
if gexiv2 is build using "--version-script", gnome-photos crashes in libexiv2. without "--version-script", everything seems to be fine. PR: 230505 Submitted by: cpm Reported by: cpm
Notes
Notes: svn path=/head/; revision=478347
Diffstat (limited to 'graphics/gexiv2')
-rw-r--r--graphics/gexiv2/Makefile1
-rw-r--r--graphics/gexiv2/files/patch-Makefile.in10
2 files changed, 11 insertions, 0 deletions
diff --git a/graphics/gexiv2/Makefile b/graphics/gexiv2/Makefile
index d936b4d36cc3..56057cb66967 100644
--- a/graphics/gexiv2/Makefile
+++ b/graphics/gexiv2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gexiv2
PORTVERSION= 0.10.8
+PORTREVISION= 1
CATEGORIES= graphics
# MASTER_SITES= GNOME/sources/gexiv2/${PORTVERSION:R}
MASTER_SITES= GNOME
diff --git a/graphics/gexiv2/files/patch-Makefile.in b/graphics/gexiv2/files/patch-Makefile.in
new file mode 100644
index 000000000000..390c6a69f141
--- /dev/null
+++ b/graphics/gexiv2/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig 2018-08-28 23:17:41 UTC
++++ Makefile.in
+@@ -805,6 +805,7 @@ lib@PACKAGE_NAME@_la_LIBADD = $(EXIV2_LIBS) $(GLIB_LIB
+ lib@PACKAGE_NAME@_la_CPPFLAGS = $(EXIV2_CFLAGS) $(GLIB_CFLAGS)
+ @PLATFORM_DARWIN_FALSE@VERSION_SCRIPT_LDFLAGS = "-Wl,--version-script=$(srcdir)/gexiv2/gexiv2.map"
+ @PLATFORM_DARWIN_TRUE@VERSION_SCRIPT_LDFLAGS =
++VERSION_SCRIPT_LDFLAGS =
+ lib@PACKAGE_NAME@_la_LDFLAGS = \
+ $(no_undefined) -export-dynamic -version-info $(GEXIV2_VERSION_INFO) \
+ $(VERSION_SCRIPT_LDFLAGS) \