summaryrefslogtreecommitdiff
path: root/science/gchemutils/files
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-03-10 22:29:20 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-03-10 22:29:20 +0000
commite00677970abcce5a356cf2422d9976f4d0cec535 (patch)
tree2e1281e45caaa7993076ecff029c89d68838fa8a /science/gchemutils/files
parentUpdate the default version of GCC used in the Ports Collection from (diff)
Fix compile on 10+
Notes
Notes: svn path=/head/; revision=347810
Diffstat (limited to 'science/gchemutils/files')
-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;