aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils/files
diff options
context:
space:
mode:
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>