[oe-commits] org.oe.dev gettext: fix building against uclibc

koen commit openembedded-commits at lists.openembedded.org
Mon May 14 17:29:44 UTC 2007


gettext: fix building against uclibc

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: ec070b4345b9870ee77f712ad166b28c7ddf7f73
ViewMTN: http://monotone.openembedded.org/revision.psp?id=ec070b4345b9870ee77f712ad166b28c7ddf7f73
Files:
1
packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
packages/gettext/gettext_0.14.1.bb
Diffs:

#
# mt diff -rdf134424f4a69d825b0661eef300c2459b57d52a -rec070b4345b9870ee77f712ad166b28c7ddf7f73
#
# 
# 
# add_file "packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch"
#  content [343676dd8983a83c2fccd7f6d7ead88c7523b3e6]
# 
# patch "packages/gettext/gettext_0.14.1.bb"
#  from [e007f18b70bdc3ec50053098ff35a8f760c2521a]
#    to [9ecf01387ee1e01907691353d51b4df632016841]
# 
============================================================
--- packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch	343676dd8983a83c2fccd7f6d7ead88c7523b3e6
+++ packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch	343676dd8983a83c2fccd7f6d7ead88c7523b3e6
@@ -0,0 +1,12 @@
+diff -ur gettext-0.14.6/gettext-tools/lib/error.h gettext-0.14.6-patched/gettext-tools/lib/error.h
+--- gettext-0.14.6/gettext-tools/lib/error.h	2005-05-20 16:03:42.000000000 -0500
++++ gettext-0.14.6-patched/gettext-tools/lib/error.h	2007-01-13 20:57:24.422168053 -0600
+@@ -50,7 +50,7 @@
+ /* If NULL, error will flush stdout, then print on stderr the program
+    name, a colon and a space.  Otherwise, error will call this
+    function without parameters instead.  */
+-extern DLL_VARIABLE void (*error_print_progname) (void);
++void (*error_print_progname) (void);
+ 
+ /* This variable is incremented each time `error' is called.  */
+ extern DLL_VARIABLE unsigned int error_message_count;
============================================================
--- packages/gettext/gettext_0.14.1.bb	e007f18b70bdc3ec50053098ff35a8f760c2521a
+++ packages/gettext/gettext_0.14.1.bb	9ecf01387ee1e01907691353d51b4df632016841
@@ -1,8 +1,8 @@ LICENSE = "GPL"
 DESCRIPTION = "The GNU internationalization library."
 HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
 SECTION = "libs"
 LICENSE = "GPL"
-PR = "r4"
+PR = "r5"
 PROVIDES = "virtual/libintl"
 
 SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
@@ -10,6 +10,9 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext
 	   file://fixchicken.patch;patch=1;pnum=1 \
            file://getline.m4.patch;patch=1"
 
+SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1"
+SRC_URI_append_linux-uclibcgnueabi = " file://gettext-error_print_progname.patch;patch=1"
+
 PARALLEL_MAKE = ""
 
 inherit autotools






More information about the Openembedded-commits mailing list