summaryrefslogtreecommitdiff
path: root/converters/help2man
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-07-15 14:54:52 +0000
committerryoon <ryoon@pkgsrc.org>2014-07-15 14:54:52 +0000
commitb8e3a655a39310518712440d7f5be351e755eabc (patch)
tree4c1e26e5097680294a6235cd81b4391e23f1b3ba /converters/help2man
parent3e111f44ed5279650afba2713ef51cae130068ce (diff)
downloadpkgsrc-b8e3a655a39310518712440d7f5be351e755eabc.tar.gz
Bump PKGREVISION
* Support SCO OpenServer 5.0.7/3.2's nl_langinfo(3).
Diffstat (limited to 'converters/help2man')
-rw-r--r--converters/help2man/Makefile7
-rw-r--r--converters/help2man/distinfo3
-rw-r--r--converters/help2man/patches/patch-help2man.PL16
3 files changed, 23 insertions, 3 deletions
diff --git a/converters/help2man/Makefile b/converters/help2man/Makefile
index d6adb38dd76..2fe056bb09e 100644
--- a/converters/help2man/Makefile
+++ b/converters/help2man/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2014/05/29 23:35:21 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2014/07/15 14:54:52 ryoon Exp $
DISTNAME= help2man-1.45.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU:=help2man/}
EXTRACT_SUFX= .tar.xz
@@ -47,5 +47,8 @@ USE_PKGLOCALEDIR= yes
PLIST.nls= yes
.endif
+post-patch:
+ ${TOUCH} -r ${WRKSRC}/help2man.PL.orig ${WRKSRC}/help2man.PL
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/help2man/distinfo b/converters/help2man/distinfo
index 1646652204f..c0cd4013aea 100644
--- a/converters/help2man/distinfo
+++ b/converters/help2man/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.14 2014/04/01 08:37:23 adam Exp $
+$NetBSD: distinfo,v 1.15 2014/07/15 14:54:52 ryoon Exp $
SHA1 (help2man-1.45.1.tar.xz) = 9c52a29a1612a19dfec11f3dd9eb4bbf72e87f7f
RMD160 (help2man-1.45.1.tar.xz) = 53bd4ce7c14ead19bcf490d7217714ca0c6b40cc
Size (help2man-1.45.1.tar.xz) = 124236 bytes
SHA1 (patch-Makefile.in) = 0d6ee6adcd6ee9fb4729acd5338b79e2b321c92c
SHA1 (patch-bindtextdomain.c) = 527f54db2b220bad60e80ed8959b9e9c20191cc7
+SHA1 (patch-help2man.PL) = 32766672db16a1a569ee3dbc330fbc5f51e1d77f
diff --git a/converters/help2man/patches/patch-help2man.PL b/converters/help2man/patches/patch-help2man.PL
new file mode 100644
index 00000000000..5df0762cd57
--- /dev/null
+++ b/converters/help2man/patches/patch-help2man.PL
@@ -0,0 +1,16 @@
+$NetBSD: patch-help2man.PL,v 1.1 2014/07/15 14:54:52 ryoon Exp $
+
+* SCO OpenServer 5.0.7/3.2's nl_langinfo(3) returns always empty.
+ Do not fail with error.
+
+--- help2man.PL.orig 2014-03-24 11:29:43.000000000 +0000
++++ help2man.PL
+@@ -124,7 +124,7 @@ my $encoding;
+
+ sub dec { $encoding ? decode $encoding, $_[0] : $_[0] }
+ sub enc { $encoding ? encode $encoding, $_[0] : $_[0] }
+- sub enc_user { encode $user_encoding, $_[0] }
++ sub enc_user { $user_encoding ? encode $user_encoding, $_[0] : $_[0] }
+ sub kark # die with message formatted in the invoking user's locale
+ {
+ setlocale LC_ALL, $user_locale;