summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-05-26 13:38:20 +0000
committerjperkin <jperkin>2015-05-26 13:38:20 +0000
commite809fffdad3c6c31bbcbb98dc2a478643bdd2fd4 (patch)
tree3f6f4c58f2d32758f048e2e0e980b608e6a0fdf7 /math
parent6436dc85b4c35470618cd616c82956ff6415b124 (diff)
downloadpkgsrc-e809fffdad3c6c31bbcbb98dc2a478643bdd2fd4.tar.gz
Fix symbol visibility, package now builds on SunOS.
Diffstat (limited to 'math')
-rw-r--r--math/R/distinfo3
-rw-r--r--math/R/patches/patch-src_include_GraphicsBase.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/math/R/distinfo b/math/R/distinfo
index 1c7b923b6f8..f85bd98437d 100644
--- a/math/R/distinfo
+++ b/math/R/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.64 2015/05/13 12:48:05 ryoon Exp $
+$NetBSD: distinfo,v 1.65 2015/05/26 13:38:20 jperkin Exp $
SHA1 (R-3.2.0.tar.gz) = a6e9a6ca5ef186037a2f8ad2ccc8d7d0147640f1
RMD160 (R-3.2.0.tar.gz) = a67e255e77baf7db164ee8a869c03137a33a6571
Size (R-3.2.0.tar.gz) = 29124927 bytes
SHA1 (patch-ac) = 1722685e650c651467be8f67c37a5766aefad7af
SHA1 (patch-ad) = 0a08f293bc1cdc130047868e5d574c2df1f4c6cf
+SHA1 (patch-src_include_GraphicsBase.h) = 5f999e4d124afd38d5c7e18d936942f2c6f27c86
SHA1 (patch-src_library_stats_src_Makefile.in) = b468becd011fa4828e50f5d13d700825655c89e8
SHA1 (patch-src_main_character.c) = 29d302b4530bdc3b49afff6b10f94277e1a94b43
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_ */