pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(math/R) add patch trying to fix unrsolved libintl function, but still one left



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Mon Jul 17 23:06:58 2023 +0900
Changeset:	8bd55333fdf5011590f390d6c9650909098da761

Modified Files:
	R/distinfo
Added Files:
	R/patches/patch-src_include_R_h

Log Message:
(math/R) add patch trying to fix unrsolved libintl function, but still one left

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8bd55333fdf5011590f390d6c9650909098da761

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 R/distinfo                      |  1 +
 R/patches/patch-src_include_R_h | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diffs:
diff --git a/R/distinfo b/R/distinfo
index 773a9d9bbd..21c7238461 100644
--- a/R/distinfo
+++ b/R/distinfo
@@ -5,5 +5,6 @@ SHA512 (R-4.3.1.tar.gz) = f571c378dbdd675e267ef4419bb1141198924dadc08297c93c8dff
 Size (R-4.3.1.tar.gz) = 34899964 bytes
 SHA1 (patch-configure.ac) = 56a92d2d75ecdad45c06ca05ebc260af83a5a0ea
 SHA1 (patch-m4_R.m4) = 76a280dc2aeea2eb0e473ae770f636d00314d68a
+SHA1 (patch-src_include_R_h) = 950a9a5ec0b6ace1ca96f17cce5e332376a2a305
 SHA1 (patch-src_library_stats_src_Makefile.in) = 4eb93292858392792c37a706399e2cef91821bbe
 SHA1 (patch-src_main_character.c) = 842ae5d291f36f2beead4d32c1d41b18cbff878d
diff --git a/R/patches/patch-src_include_R_h b/R/patches/patch-src_include_R_h
new file mode 100644
index 0000000000..9fcb055352
--- /dev/null
+++ b/R/patches/patch-src_include_R_h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+starting gettext-0.22, some symbols are hidden, and make them visible
+
+--- src/include/Defn.h.orig	2023-05-02 07:15:02.000000000 +0900
++++ src/include/Defn.h	2023-07-17 20:40:16.631815063 +0900
+@@ -2355,6 +2355,10 @@ extern void *alloca(size_t);
+ // for reproducibility for now: use exp10 or pown later if accurate enough.
+ #define Rexp10(x) pow(10.0, x)
+ 
++/* starting gettext-0.22, some symbols are hidden, and make them visible */
++#define _INTL_REDIRECT_MACROS
++#include "gettext/libintl.h"
++
+ #endif /* DEFN_H_ */
+ /*
+  *- Local Variables:


Home | Main Index | Thread Index | Old Index