pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(math/R) add patch for gettext-0.22 API change for appl_pretty.c
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By: mef
Date: Thu Jul 20 16:03:37 2023 +0900
Changeset: 0790aa4a0e4866e1528c55a16ea0405934bdcc11
Added Files:
R/patches/patch-src_appl_pretty.c
Log Message:
(math/R) add patch for gettext-0.22 API change for appl_pretty.c
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0790aa4a0e4866e1528c55a16ea0405934bdcc11
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
R/patches/patch-src_appl_pretty.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diffs:
diff --git a/R/patches/patch-src_appl_pretty.c b/R/patches/patch-src_appl_pretty.c
new file mode 100644
index 0000000000..7b592d07df
--- /dev/null
+++ b/R/patches/patch-src_appl_pretty.c
@@ -0,0 +1,17 @@
+--- src/appl/pretty.c.orig 2023-03-23 23:02:02.000000000 +0000
++++ src/appl/pretty.c 2023-07-20 06:48:51.271243263 +0000
+@@ -45,10 +45,10 @@
+ #endif
+
+ #ifdef ENABLE_NLS
+-#include <libintl.h>
+-#define _(String) gettext (String)
+-#else
+-#define _(String) (String)
++/* starting gettext-0.22, some symbols are hidden, and make them visible */
++#define _INTL_REDIRECT_MACROS
++#include <gettext/libintl.h>
+ #endif
++#define _(String) (String)
+
+ #include <math.h>
Home |
Main Index |
Thread Index |
Old Index