summaryrefslogtreecommitdiff
path: root/math/R/patches/patch-src_include_GraphicsBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/R/patches/patch-src_include_GraphicsBase.h')
-rw-r--r--math/R/patches/patch-src_include_GraphicsBase.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/R/patches/patch-src_include_GraphicsBase.h b/math/R/patches/patch-src_include_GraphicsBase.h
new file mode 100644
index 00000000000..5451e7f4af5
--- /dev/null
+++ b/math/R/patches/patch-src_include_GraphicsBase.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_include_GraphicsBase.h,v 1.1 2015/05/26 13:38:20 jperkin Exp $
+
+Fix symbol visibility.
+
+--- src/include/GraphicsBase.h.orig 2015-03-18 23:02:13.000000000 +0000
++++ src/include/GraphicsBase.h
+@@ -41,6 +41,6 @@ void unregisterBase(void); /* used in de
+
+ void Rf_setBaseDevice(Rboolean val, pGEDevDesc dd); /* used in graphics.c */
+
+-int baseRegisterIndex;
++extern int baseRegisterIndex;
+
+ #endif /* R_GRAPHICSBASE_ */