pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/gsharutils Deal with crappy gettext.h wantin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c9063df59e8
branches:  trunk
changeset: 652862:8c9063df59e8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jun 08 23:13:52 2015 +0000

description:
Deal with crappy gettext.h wanting to redefine libintl.h.

diffstat:

 archivers/gsharutils/distinfo                          |   7 ++++++-
 archivers/gsharutils/patches/patch-libopts_libopts.c   |  14 ++++++++++++++
 archivers/gsharutils/patches/patch-src_shar-opts.c     |  17 +++++++++++++++++
 archivers/gsharutils/patches/patch-src_unshar-opts.c   |  17 +++++++++++++++++
 archivers/gsharutils/patches/patch-src_uudecode-opts.c |  17 +++++++++++++++++
 archivers/gsharutils/patches/patch-src_uuencode-opts.c |  17 +++++++++++++++++
 6 files changed, 88 insertions(+), 1 deletions(-)

diffs (118 lines):

diff -r 66361fab5cef -r 8c9063df59e8 archivers/gsharutils/distinfo
--- a/archivers/gsharutils/distinfo     Mon Jun 08 23:09:42 2015 +0000
+++ b/archivers/gsharutils/distinfo     Mon Jun 08 23:13:52 2015 +0000
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.21 2015/04/10 01:32:16 hiramatsu Exp $
+$NetBSD: distinfo,v 1.22 2015/06/08 23:13:52 joerg Exp $
 
 SHA1 (sharutils-4.15.tar.gz) = a073d1912e537a53cabab210ca869adfd907f6f6
 RMD160 (sharutils-4.15.tar.gz) = fd8b1ebe41b1df398eef53513e2e5b5b53e8bbac
 Size (sharutils-4.15.tar.gz) = 2196398 bytes
 SHA1 (patch-lib_fseeko.c) = 9308258bebbabc60a0203fd3baa054758ce60b02
+SHA1 (patch-libopts_libopts.c) = da5b86c5ba4dfdae5108476e46c1ed5e47a4254e
+SHA1 (patch-src_shar-opts.c) = eabc6a22adb102fc88b42c4479ee4030435d07dd
+SHA1 (patch-src_unshar-opts.c) = 7c34db513400d5f818be396a6bdbd2ff8d8bb77b
+SHA1 (patch-src_uudecode-opts.c) = d560a91b977d3c02627be22073b1dc1810a9b3cb
+SHA1 (patch-src_uuencode-opts.c) = 0906d8b3d9ac10d529b2a35aadce1fb09d3c60b7
diff -r 66361fab5cef -r 8c9063df59e8 archivers/gsharutils/patches/patch-libopts_libopts.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gsharutils/patches/patch-libopts_libopts.c      Mon Jun 08 23:13:52 2015 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-libopts_libopts.c,v 1.1 2015/06/08 23:13:52 joerg Exp $
+
+--- libopts/libopts.c.orig     2015-06-08 20:10:35.000000000 +0000
++++ libopts/libopts.c
+@@ -1,3 +1,9 @@
++#include "config.h"
++#if ENABLE_NLS
++#ifdef HAVE_DCGETTEXT
++# include <gettext.h>
++#endif
++#endif
+ #define  AUTOOPTS_INTERNAL 1
+ #include "autoopts/project.h"
+ #define  LOCAL static
diff -r 66361fab5cef -r 8c9063df59e8 archivers/gsharutils/patches/patch-src_shar-opts.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gsharutils/patches/patch-src_shar-opts.c        Mon Jun 08 23:13:52 2015 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_shar-opts.c,v 1.1 2015/06/08 23:13:52 joerg Exp $
+
+--- src/shar-opts.c.orig       2015-06-08 20:10:51.000000000 +0000
++++ src/shar-opts.c
+@@ -37,6 +37,12 @@
+  *  You should have received a copy of the GNU General Public License along
+  *  with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
++#include "config.h"
++#if ENABLE_NLS
++#ifdef HAVE_DCGETTEXT
++# include <gettext.h>
++#endif
++#endif
+ 
+ #ifndef __doxygen__
+ #define OPTION_CODE_COMPILE 1
diff -r 66361fab5cef -r 8c9063df59e8 archivers/gsharutils/patches/patch-src_unshar-opts.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gsharutils/patches/patch-src_unshar-opts.c      Mon Jun 08 23:13:52 2015 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_unshar-opts.c,v 1.1 2015/06/08 23:13:52 joerg Exp $
+
+--- src/unshar-opts.c.orig     2015-06-08 20:11:05.000000000 +0000
++++ src/unshar-opts.c
+@@ -37,6 +37,12 @@
+  *  You should have received a copy of the GNU General Public License along
+  *  with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
++#include "config.h"
++#if ENABLE_NLS
++#ifdef HAVE_DCGETTEXT
++# include <gettext.h>
++#endif
++#endif
+ 
+ #ifndef __doxygen__
+ #define OPTION_CODE_COMPILE 1
diff -r 66361fab5cef -r 8c9063df59e8 archivers/gsharutils/patches/patch-src_uudecode-opts.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gsharutils/patches/patch-src_uudecode-opts.c    Mon Jun 08 23:13:52 2015 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_uudecode-opts.c,v 1.1 2015/06/08 23:13:52 joerg Exp $
+
+--- src/uudecode-opts.c.orig   2015-06-08 20:12:04.000000000 +0000
++++ src/uudecode-opts.c
+@@ -37,6 +37,12 @@
+  *  You should have received a copy of the GNU General Public License along
+  *  with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
++#include "config.h"
++#if ENABLE_NLS
++#ifdef HAVE_DCGETTEXT
++# include <gettext.h>
++#endif
++#endif
+ 
+ #ifndef __doxygen__
+ #define OPTION_CODE_COMPILE 1
diff -r 66361fab5cef -r 8c9063df59e8 archivers/gsharutils/patches/patch-src_uuencode-opts.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/gsharutils/patches/patch-src_uuencode-opts.c    Mon Jun 08 23:13:52 2015 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_uuencode-opts.c,v 1.1 2015/06/08 23:13:52 joerg Exp $
+
+--- src/uuencode-opts.c.orig   2015-06-08 20:12:11.000000000 +0000
++++ src/uuencode-opts.c
+@@ -37,6 +37,12 @@
+  *  You should have received a copy of the GNU General Public License along
+  *  with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
++#include "config.h"
++#if ENABLE_NLS
++#ifdef HAVE_DCGETTEXT
++# include <gettext.h>
++#endif
++#endif
+ 
+ #ifndef __doxygen__
+ #define OPTION_CODE_COMPILE 1



Home | Main Index | Thread Index | Old Index