pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(math/R) reduce unresolved reference on gettext, still two pretty.o and regerror.o left
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By: mef
Date: Thu Jul 20 15:43:04 2023 +0900
Changeset: 930a3ffe9d23dff9e0455a99980de1c3aa6fb587
Modified Files:
R/distinfo
Added Files:
R/patches/patch-src_nmath_nmath.h
Log Message:
(math/R) reduce unresolved reference on gettext, still two pretty.o and regerror.o left
h97@pbulk 06:40:15/230720(..wip/R)% cp /dev/null /tmp/x; foreach f (`find /WRKOBJDIR/wip/R/work/R-4.3.1/ -name \*.o`)
(echo $f ' ' ; nm $f | grep -i 'u gettext' ) >> /tmp/x
end
h97@pbulk 06:40:24/230720(..wip/R)% grep -B1 'U gettext' /tmp/x
/WRKOBJDIR/wip/R/work/R-4.3.1/src/appl/pretty.o
U gettext
--
/WRKOBJDIR/wip/R/work/R-4.3.1/src/extra/tre/regerror.o
U gettext
h97@pbulk 06:40:27/230720(..wip/R)%
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=930a3ffe9d23dff9e0455a99980de1c3aa6fb587
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_nmath_nmath.h | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diffs:
diff --git a/R/distinfo b/R/distinfo
index 21c7238461..08ee7073de 100644
--- a/R/distinfo
+++ b/R/distinfo
@@ -8,3 +8,4 @@ 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
+SHA1 (patch-src_nmath_nmath.h) = a957aafef7f41157e0e05fefb3daf68375da65a8
diff --git a/R/patches/patch-src_nmath_nmath.h b/R/patches/patch-src_nmath_nmath.h
new file mode 100644
index 0000000000..550857800c
--- /dev/null
+++ b/R/patches/patch-src_nmath_nmath.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+API change on gettext-lib 0.22
+
+--- src/nmath/nmath.h.orig 2023-05-02 07:15:02.000000000 +0900
++++ src/nmath/nmath.h 2023-07-19 23:52:26.912202724 +0900
+@@ -233,4 +233,9 @@ void attribute_hidden bratio(double a, d
+ double *w, double *w1, int *ierr, int log_p);
+
+
++#ifndef _LIBINTL_H
++# define _INTL_REDIRECT_MACROS
++# include "gettext/libintl.h"
++#endif
++
+ #endif /* MATHLIB_PRIVATE_H */
Home |
Main Index |
Thread Index |
Old Index