summaryrefslogtreecommitdiff
path: root/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch')
-rw-r--r--sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch
new file mode 100644
index 000000000000..207d30152027
--- /dev/null
+++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch
@@ -0,0 +1,34 @@
+https://bugs.gentoo.org/707310
+--- a/PKININIT.c
++++ b/PKININIT.c
+@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/
+ void writechangestooutput(void); /*040215*/
+ void writecmdhelptooutput(void); /*040425*/
+
++extern int Lribbonnew;
++
+ static char* prekinchanges[] =
+ {"\r"
+ ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r"
+--- a/PKINRIBB.c
++++ b/PKINRIBB.c
+@@ -6,6 +6,8 @@
+ #define PKINRIBB
+ #include "PKINRIBB.h"
+ #undef PKINRIBB
++
++extern int Lribbonnew;
+
+ /*{{{--NOTE-- version, etc. */
+ /*051025 for now, just work with one model, and let prekin's levels==sections*/
+--- a/PKINRIBB.h
++++ b/PKINRIBB.h
+@@ -5,7 +5,7 @@
+ #define PKINRIBB extern
+ #endif
+
+-PKINRIBB int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/
++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/
+
+ #define CORDER 4 /*order of the B-spline defined here*/
+