aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-03-11 06:29:20 +0800
committerkwm <kwm@FreeBSD.org>2014-03-11 06:29:20 +0800
commit73c509c677cd486596238b1cba3b2f383e52109d (patch)
tree2e1281e45caaa7993076ecff029c89d68838fa8a /science/gchemutils
parenta977aaf91c365d208a28cae62cb22b16e70a1978 (diff)
downloadfreebsd-ports-gnome-73c509c677cd486596238b1cba3b2f383e52109d.tar.gz
freebsd-ports-gnome-73c509c677cd486596238b1cba3b2f383e52109d.tar.zst
freebsd-ports-gnome-73c509c677cd486596238b1cba3b2f383e52109d.zip
Fix compile on 10+
Diffstat (limited to 'science/gchemutils')
-rw-r--r--science/gchemutils/files/patch-Makefile.in10
-rw-r--r--science/gchemutils/files/patch-libs_gcr_document.cc10
2 files changed, 20 insertions, 0 deletions
diff --git a/science/gchemutils/files/patch-Makefile.in b/science/gchemutils/files/patch-Makefile.in
new file mode 100644
index 000000000000..1bd691a6548d
--- /dev/null
+++ b/science/gchemutils/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig 2014-03-10 23:12:16.000000000 +0100
++++ Makefile.in 2014-03-10 23:14:08.000000000 +0100
+@@ -927,7 +927,6 @@
+
+ install-data-am: install-mimeDATA
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-dvi: install-dvi-recursive
+
+ install-dvi-am:
diff --git a/science/gchemutils/files/patch-libs_gcr_document.cc b/science/gchemutils/files/patch-libs_gcr_document.cc
new file mode 100644
index 000000000000..5ededb3e9b8d
--- /dev/null
+++ b/science/gchemutils/files/patch-libs_gcr_document.cc
@@ -0,0 +1,10 @@
+--- libs/gcr/document.cc.orig 2013-12-03 21:16:21.000000000 +0100
++++ libs/gcr/document.cc 2013-12-03 21:22:51.000000000 +0100
+@@ -1521,7 +1521,6 @@
+ if (error) {
+ cerr << "gio error: " << error->message << endl;
+ g_error_free (error);
+- g_object_unref (file);
+ throw (int) 1;
+ }
+ std::map<std::string, sAtom>AtomsMap;