aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils/files
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-06-27 19:42:57 +0800
committerkwm <kwm@FreeBSD.org>2013-06-27 19:42:57 +0800
commit80d622872facabecb23568bbe220c184f4f668c8 (patch)
tree7ba2f49be1dbfd11d36e94786e57ffa622c0ee02 /science/gchemutils/files
parent0faa5f456871493b25bcaf84d4b283579000e30e (diff)
downloadfreebsd-ports-gnome-80d622872facabecb23568bbe220c184f4f668c8.tar.gz
freebsd-ports-gnome-80d622872facabecb23568bbe220c184f4f668c8.tar.zst
freebsd-ports-gnome-80d622872facabecb23568bbe220c184f4f668c8.zip
Update to 0.14.2.
This version switched to Gtk3. Unbreak XUL options since it build with the version in ports. Use USES desktop-file-utils and shared-mime-info.
Diffstat (limited to 'science/gchemutils/files')
-rw-r--r--science/gchemutils/files/patch-libs-gcu-spectrumdoc.cc11
-rw-r--r--science/gchemutils/files/patch-libs_gcu_application.cc10
2 files changed, 10 insertions, 11 deletions
diff --git a/science/gchemutils/files/patch-libs-gcu-spectrumdoc.cc b/science/gchemutils/files/patch-libs-gcu-spectrumdoc.cc
deleted file mode 100644
index 8e203f3c6fc5..000000000000
--- a/science/gchemutils/files/patch-libs-gcu-spectrumdoc.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- libs/gcu/spectrumdoc.cc.orig 2009-01-05 14:09:59.000000000 -0500
-+++ libs/gcu/spectrumdoc.cc 2009-05-09 15:06:20.000000000 -0400
-@@ -1898,7 +1899,7 @@ static double logm (double val, double f
-
- static double expm (double val, double f, double offset)
- {
-- return exp10 (-val) * f + offset;
-+ return pow (10, -val) * f + offset;
- }
-
- double (*SpectrumDocument::GetConversionFunction (SpectrumUnitType oldu, SpectrumUnitType newu, double &factor, double &shift)) (double, double, double)
diff --git a/science/gchemutils/files/patch-libs_gcu_application.cc b/science/gchemutils/files/patch-libs_gcu_application.cc
new file mode 100644
index 000000000000..174845148580
--- /dev/null
+++ b/science/gchemutils/files/patch-libs_gcu_application.cc
@@ -0,0 +1,10 @@
+--- libs/gcu/application.cc.orig 2013-04-22 13:49:38.000000000 +0000
++++ libs/gcu/application.cc 2013-04-22 13:49:53.000000000 +0000
+@@ -39,6 +39,7 @@
+ #include <cstring>
+ #include <clocale>
+ #include <netinet/in.h>
++#include <sys/socket.h>
+ #include <sys/un.h>
+ #include <unistd.h>
+ #include <set>