pop-1.13: fix uclibc builds
authorHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 25 Mar 2008 20:59:41 +0000 (20:59 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 25 Mar 2008 20:59:41 +0000 (20:59 +0000)
* add iconv.patch so libpopt.la finds all symbols even for libicionv
* bump pr

packages/popt/popt-1.13/.mtn2git_empty [new file with mode: 0644]
packages/popt/popt-1.13/iconv.patch [new file with mode: 0644]
packages/popt/popt_1.13.bb

diff --git a/packages/popt/popt-1.13/.mtn2git_empty b/packages/popt/popt-1.13/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/popt/popt-1.13/iconv.patch b/packages/popt/popt-1.13/iconv.patch
new file mode 100644 (file)
index 0000000..83c70b0
--- /dev/null
@@ -0,0 +1,13 @@
+Index: popt-1.13/Makefile.am
+===================================================================
+--- popt-1.13.orig/Makefile.am 2008-03-25 21:51:12.000000000 +0100
++++ popt-1.13/Makefile.am      2008-03-25 21:51:42.000000000 +0100
+@@ -39,7 +39,7 @@
+ usrlib_LTLIBRARIES = libpopt.la
+ libpopt_la_SOURCES = popt.c findme.c poptparse.c poptconfig.c popthelp.c poptint.c
+-libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@
++libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@
+ if HAVE_LD_VERSION_SCRIPT
+ libpopt_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libpopt.vers
index 9b071ba..7a736bd 100644 (file)
@@ -2,11 +2,13 @@ require popt.inc
 
 DEPENDS = "gettext virtual/libintl"
 
-PR = "r0"
+PR = "r1"
 
 inherit autotools
 
-SRC_URI = "http://freshmeat.net/redir/popt/72854/url_bz2/popt-${PV}.tar.gz"
+SRC_URI = "http://freshmeat.net/redir/popt/72854/url_bz2/popt-${PV}.tar.gz \
+          file://iconv.patch;patch=1 \
+         "
 
 do_stage() {
        oe_libinstall -a -so libpopt ${STAGING_LIBDIR}