summaryrefslogtreecommitdiff
path: root/extra/labplot/define-missing-constant.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/labplot/define-missing-constant.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/labplot/define-missing-constant.patch')
-rw-r--r--extra/labplot/define-missing-constant.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/labplot/define-missing-constant.patch b/extra/labplot/define-missing-constant.patch
new file mode 100644
index 000000000..f61211279
--- /dev/null
+++ b/extra/labplot/define-missing-constant.patch
@@ -0,0 +1,15 @@
+diff --git a/src/constants.h b/src/constants.h
+index 77d76bf..1bada49 100644
+--- a/src/constants.h
++++ b/src/constants.h
+@@ -17,6 +17,10 @@
+ #endif
+ #endif
+
++#ifndef GSL_CONST_CGSM_GAUSS
++#define GSL_CONST_CGSM_GAUSS (1e0) /* g / abamp s^2 */
++#endif
++
+ #ifdef HAVE_R
+ #include <R.h>
+ #include <Rmath.h>