pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(math/R) fix unresolved gettext on src/extra/tre/regerror.c
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By: mef
Date: Thu Jul 20 16:01:36 2023 +0900
Changeset: b866a604a1230925449f49bdb4c0f53fde0b0009
Modified Files:
R/distinfo
Added Files:
R/patches/patch-src_extra_tre_regerror.c
Log Message:
(math/R) fix unresolved gettext on src/extra/tre/regerror.c
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b866a604a1230925449f49bdb4c0f53fde0b0009
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
R/distinfo | 4 +++-
R/patches/patch-src_extra_tre_regerror.c | 15 +++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diffs:
diff --git a/R/distinfo b/R/distinfo
index 08ee7073de..015fb677ba 100644
--- a/R/distinfo
+++ b/R/distinfo
@@ -5,7 +5,9 @@ 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_appl_pretty.c) = 25d685373a1588f2898b07f6f49e45877d392acd
+SHA1 (patch-src_extra_tre_regerror.c) = c515d44524260239be7ab360b5fd75ba15d0d7ca
+SHA1 (patch-src_include_Defn.h) = 950a9a5ec0b6ace1ca96f17cce5e332376a2a305
SHA1 (patch-src_library_stats_src_Makefile.in) = 4eb93292858392792c37a706399e2cef91821bbe
SHA1 (patch-src_main_character.c) = 842ae5d291f36f2beead4d32c1d41b18cbff878d
SHA1 (patch-src_nmath_nmath.h) = a957aafef7f41157e0e05fefb3daf68375da65a8
diff --git a/R/patches/patch-src_extra_tre_regerror.c b/R/patches/patch-src_extra_tre_regerror.c
new file mode 100644
index 0000000000..d7db2346da
--- /dev/null
+++ b/R/patches/patch-src_extra_tre_regerror.c
@@ -0,0 +1,15 @@
+--- src/extra/tre/regerror.c.orig 2018-09-25 08:46:40.000000000 +0000
++++ src/extra/tre/regerror.c 2023-07-20 06:58:53.519846262 +0000
+@@ -22,7 +22,11 @@
+ #include "tre.h"
+
+ #ifdef HAVE_GETTEXT
+-#include <libintl.h>
++# ifndef _LIBINTL_H
++# define _INTL_REDIRECT_MACROS
++# include <gettext/libintl.h>
++# endif
++
+ #else
+ #define dgettext(p, s) s
+ #define gettext(s) s
Home |
Main Index |
Thread Index |
Old Index