aboutsummaryrefslogtreecommitdiff
path: root/utils/ccrypt/patches/001-no-intl.patch
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2014-07-21 17:31:06 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2014-07-21 17:31:06 +0300
commit794a497f3556d3af7537d83c5349ec7065a63119 (patch)
tree8ec6570ac8044696c292972eb6d96c2f0c2b1435 /utils/ccrypt/patches/001-no-intl.patch
parentdb8d18e1f606c0c6e6935166ca028bc886433e46 (diff)
ccrypt: import from oldpackages.
Copyright year and PKG_RELEASE updated, added myself as maintainer. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'utils/ccrypt/patches/001-no-intl.patch')
-rw-r--r--utils/ccrypt/patches/001-no-intl.patch89
1 files changed, 89 insertions, 0 deletions
diff --git a/utils/ccrypt/patches/001-no-intl.patch b/utils/ccrypt/patches/001-no-intl.patch
new file mode 100644
index 000000000..4ac9abb20
--- /dev/null
+++ b/utils/ccrypt/patches/001-no-intl.patch
@@ -0,0 +1,89 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -123,17 +123,6 @@ AC_MSG_RESULT($UINT32_TYPE)
+ AC_DEFINE_UNQUOTED(UINT32_TYPE,$UINT32_TYPE,unsigned 32 bit integer type)
+
+ dnl ----------------------------------------------------------------------
+-dnl Internationalization
+-
+-GETTEXT_PACKAGE=ccrypt
+-AC_SUBST(GETTEXT_PACKAGE)
+-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
+-
+-AM_GNU_GETTEXT
+-AM_GNU_GETTEXT_VERSION([0.14.3])
+-IT_PO_SUBDIR(po)
+-
+-dnl ----------------------------------------------------------------------
+ dnl Libtool (needed by intl/)
+
+ LT_INIT
+@@ -153,9 +142,7 @@ AC_SUBST(TAR)
+ dnl ----------------------------------------------------------------------
+ AC_CONFIG_FILES([doc/ccrypt.1
+ doc/ccguess.1
+- po/Makefile.in
+ m4/Makefile
+- intl/Makefile
+ Makefile
+ src/Makefile
+ emacs/Makefile
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,7 +4,7 @@
+
+ ## Process this file with automake to produce Makefile.in
+
+-SUBDIRS = m4 po intl src emacs doc check
++SUBDIRS = m4 src emacs doc check
+
+ EXTRA_DIST = m4/ChangeLog config.rpath README-WIN
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -36,7 +36,7 @@ host_triplet = @host@
+ subdir = .
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+- $(top_srcdir)/configure $(top_srcdir)/intl/Makefile.in \
++ $(top_srcdir)/configure \
+ ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS config.guess \
+ config.rpath config.sub depcomp elisp-comp install-sh \
+ ltmain.sh missing mkinstalldirs
+@@ -66,7 +66,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
+ configure.lineno config.status.lineno
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h
+-CONFIG_CLEAN_FILES = intl/Makefile
++CONFIG_CLEAN_FILES =
+ CONFIG_CLEAN_VPATH_FILES =
+ SOURCES =
+ DIST_SOURCES =
+@@ -277,7 +277,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = m4 po intl src emacs doc check
++SUBDIRS = m4 src emacs doc check
+ EXTRA_DIST = m4/ChangeLog config.rpath README-WIN
+ ACLOCAL_AMFLAGS = -I m4
+ all: config.h
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -56,4 +56,4 @@ uninstall-local:
+ # internationalization stuff
+ localedir = $(datadir)/locale
+ INCLUDES = -I../intl -I$(top_srcdir)/intl -DLOCALEDIR=\"$(localedir)\"
+-LIBS = @LIBINTL@ @LIBS@
++LIBS = @LIBS@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -159,7 +159,7 @@ LDFLAGS = @LDFLAGS@
+ LIBICONV = @LIBICONV@
+ LIBINTL = @LIBINTL@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBINTL@ @LIBS@
++LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@
+ LIPO = @LIPO@
+ LN_S = @LN_S@