summaryrefslogtreecommitdiff
path: root/package/libs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-09 19:52:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-09 19:52:27 +0000
commit64e7b41b2e95ac9a417b4fdf144134af20caa66a (patch)
tree57faf1f4db1ecce061636630865aadfa02af9ee0 /package/libs
parent1e0c22507adb4724ca25de994bcdbe69b8502900 (diff)
downloadmtk-20170518-64e7b41b2e95ac9a417b4fdf144134af20caa66a.zip
mtk-20170518-64e7b41b2e95ac9a417b4fdf144134af20caa66a.tar.gz
mtk-20170518-64e7b41b2e95ac9a417b4fdf144134af20caa66a.tar.bz2
popt: update to latest upstream version, fixes build breakage after autofools changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43901
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/popt/Makefile8
-rw-r--r--package/libs/popt/patches/002-no-intl.patch81
2 files changed, 4 insertions, 85 deletions
diff --git a/package/libs/popt/Makefile b/package/libs/popt/Makefile
index 5e03774..bd2e6e2 100644
--- a/package/libs/popt/Makefile
+++ b/package/libs/popt/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=popt
-PKG_VERSION:=1.7
-PKG_RELEASE:=5
+PKG_VERSION:=1.16
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
-PKG_MD5SUM:=5988e7aeb0ae4dac8d83561265984cc9
+PKG_SOURCE_URL:=http://rpm5.org/files/popt/
+PKG_MD5SUM:=3743beefa3dd6247a73f8f7a32c14c33
PKG_LICENSE:=MIT
PKG_FIXUP:=autoreconf
diff --git a/package/libs/popt/patches/002-no-intl.patch b/package/libs/popt/patches/002-no-intl.patch
deleted file mode 100644
index 2f9a4e0..0000000
--- a/package/libs/popt/patches/002-no-intl.patch
+++ /dev/null
@@ -1,81 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -64,25 +64,14 @@ else
- AC_MSG_RESULT(no)
- fi
-
--if test ! -f ../rpm.c
--then
-- AC_MSG_CHECKING(for GNU xgettext)
-- xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1 || AC_MSG_ERROR([
-- *** GNU gettext is required. The latest version
-- *** is always available from ftp://ftp.gnu.org/gnu/gettext/.])
-- AC_MSG_RESULT(yes)
--fi
--
- AC_CHECK_FUNCS(strerror mtrace getuid geteuid)
- AC_CHECK_FUNC(setreuid, [], [
- AC_CHECK_LIB(ucb, setreuid, [if echo $LIBS | grep -- -lucb >/dev/null ;then :; else LIBS="$LIBS -lc -lucb" USEUCB=y;fi])
- ])
-
--AM_GNU_GETTEXT
--
- POPT_SOURCE_PATH="`pwd`"
- AC_DEFINE_UNQUOTED(POPT_SOURCE_PATH, "$POPT_SOURCE_PATH",
- [Full path to popt top_sourcedir.])
- AC_SUBST(POPT_SOURCE_PATH)
-
--AC_OUTPUT([Doxyfile Makefile intl/Makefile po/Makefile.in])
-+AC_OUTPUT([Doxyfile Makefile])
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -4,10 +4,9 @@ AUTOMAKE_OPTIONS = 1.4 foreign
-
- EXTRA_DIST = autogen.sh CHANGES $(man_MANS) popt.spec \
- testit.sh test-poptrc \
-- po/*.in po/*.po po/popt.pot \
- popt.ps
-
--SUBDIRS = intl po
-+SUBDIRS =
-
- INCLUDES = -I. -I$(top_srcdir)
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -124,7 +124,7 @@ EXTRA_DIST = autogen.sh CHANGES $(man_MA
- popt.ps
-
-
--SUBDIRS = intl po
-+SUBDIRS =
-
- INCLUDES = -I. -I$(top_srcdir)
-
-@@ -160,7 +160,7 @@ subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h
--CONFIG_CLEAN_FILES = Doxyfile intl/Makefile
-+CONFIG_CLEAN_FILES = Doxyfile
- LTLIBRARIES = $(lib_LTLIBRARIES)
-
- libpopt_la_LDFLAGS =
-@@ -261,8 +261,6 @@ distclean-hdr:
- -rm -f config.h stamp-h1
- Doxyfile: $(top_builddir)/config.status Doxyfile.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
--intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
-- cd $(top_builddir) && $(SHELL) ./config.status $@
- libLTLIBRARIES_INSTALL = $(INSTALL)
- install-libLTLIBRARIES: $(lib_LTLIBRARIES)
- @$(NORMAL_INSTALL)
-@@ -584,7 +582,7 @@ distcleancheck_listfiles = find . -type
- distdir: $(DISTFILES)
- $(am__remove_distdir)
- mkdir $(distdir)
-- $(mkinstalldirs) $(distdir)/. $(distdir)/intl $(distdir)/po
-+ $(mkinstalldirs) $(distdir)/.
- @list='$(DISTFILES)'; for file in $$list; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \