diff options
Diffstat (limited to 'extra/labplot/define-missing-constant.patch')
-rw-r--r-- | extra/labplot/define-missing-constant.patch | 15 |
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> |