Skip to content

Commit

Permalink
Fix symbol visibility, package now builds on SunOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed May 26, 2015
1 parent dcb6e6e commit 73f99c5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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
14 changes: 14 additions & 0 deletions 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_ */

0 comments on commit 73f99c5

Please sign in to comment.