pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/help2man
Module Name: pkgsrc
Committed By: sjmulder
Date: Wed Aug 9 20:20:28 UTC 2023
Modified Files:
pkgsrc/converters/help2man: distinfo
Added Files:
pkgsrc/converters/help2man/patches: patch-configure
Log Message:
converters/help2man: Work around configure issue w/ GNU gettext()
Depending on platform and compilation environment, GNU gettext
exports functions like bindtextdomain() as libintl_bindtextdomain() so
checking the symbol name directly doesn't work. When bindtextdomain()
isn't found help2man won't install localized man pages.
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/converters/help2man/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/help2man/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/converters/help2man/distinfo
diff -u pkgsrc/converters/help2man/distinfo:1.50 pkgsrc/converters/help2man/distinfo:1.51
--- pkgsrc/converters/help2man/distinfo:1.50 Mon Jan 2 09:05:43 2023
+++ pkgsrc/converters/help2man/distinfo Wed Aug 9 20:20:27 2023
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.50 2023/01/02 09:05:43 adam Exp $
+$NetBSD: distinfo,v 1.51 2023/08/09 20:20:27 sjmulder Exp $
BLAKE2s (help2man-1.49.3.tar.xz) = a1b13e5d9bae4ec8e13ef6d284181d3c1c6f19c76976c60b24e4bd90fbad9744
SHA512 (help2man-1.49.3.tar.xz) = 5f19fad1e38b0572b63ed8bfd146b717fc22dff3a26641e8b5c8431df13da9574679d9a3407da62790db8a29286694ea1bfd751cba168f475302ad31cce845cf
Size (help2man-1.49.3.tar.xz) = 228472 bytes
SHA1 (patch-Makefile.in) = 3898cc3f3375d07bb0a3761cd41bf24134604da2
SHA1 (patch-bindtextdomain.c) = 527f54db2b220bad60e80ed8959b9e9c20191cc7
+SHA1 (patch-configure) = 88f34f1f9c82df8da0cafa14ecbea6061b100786
Added files:
Index: pkgsrc/converters/help2man/patches/patch-configure
diff -u /dev/null pkgsrc/converters/help2man/patches/patch-configure:1.1
--- /dev/null Wed Aug 9 20:20:28 2023
+++ pkgsrc/converters/help2man/patches/patch-configure Wed Aug 9 20:20:27 2023
@@ -0,0 +1,27 @@
+$NetBSD: patch-configure,v 1.1 2023/08/09 20:20:27 sjmulder Exp $
+
+Depending on platform and compilation environment, GNU gettext
+exports functions like bindtextdomain() as libintl_bindtextdomain() so
+checking the symbol name directly doesn't work. When bindtextdomain()
+isn't found help2man won't install localized man pages.
+
+--- configure.orig 2022-12-13 00:48:03.000000000 +0000
++++ configure
+@@ -3427,14 +3427,12 @@ else $as_nop
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+-/* Override any GCC internal prototype to avoid an error.
+- Use char because int might match the return type of a GCC
+- builtin and then its argument prototype would still apply. */
+-char bindtextdomain ();
++#include <libintl.h>
++
+ int
+ main (void)
+ {
+-return bindtextdomain ();
++bindtextdomain ("", "");
+ ;
+ return 0;
+ }
Home |
Main Index |
Thread Index |
Old Index