diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-08 21:45:05 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-08 21:45:05 +0100 |
commit | c115a9d1c3c12ce5504a1a5169006c66cafc34e3 (patch) | |
tree | f4bef63dd572e3fe54b8d5fdbffcbf2e2e78d7a2 /package/libgpg-error | |
parent | 91fb280c3d35424d56c7f9a3bea23f383dfcb56a (diff) |
many bugfixes for native adksystems and some package updates
Diffstat (limited to 'package/libgpg-error')
-rw-r--r-- | package/libgpg-error/Makefile | 4 | ||||
-rw-r--r-- | package/libgpg-error/patches/patch-configure | 31 | ||||
-rw-r--r-- | package/libgpg-error/patches/patch-src_Makefile_in | 25 |
3 files changed, 58 insertions, 2 deletions
diff --git a/package/libgpg-error/Makefile b/package/libgpg-error/Makefile index d653ae8a5..f0c126cf8 100644 --- a/package/libgpg-error/Makefile +++ b/package/libgpg-error/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= libgpg-error -PKG_VERSION:= 1.8 +PKG_VERSION:= 1.9 PKG_RELEASE:= 1 -PKG_MD5SUM:= 1d2005268a2f096db28cf9cf77b3229a +PKG_MD5SUM:= 521b98aa9395e7eaf0ef2236233a0796 PKG_DESCR:= a helper library for common error codes and descriptions PKG_SECTION:= libs PKG_URL:= http://www.gnupg.org/ diff --git a/package/libgpg-error/patches/patch-configure b/package/libgpg-error/patches/patch-configure new file mode 100644 index 000000000..717b884db --- /dev/null +++ b/package/libgpg-error/patches/patch-configure @@ -0,0 +1,31 @@ +--- libgpg-error-1.9.orig/configure 2010-07-21 10:00:02.000000000 +0200 ++++ libgpg-error-1.9/configure 2011-02-05 15:47:20.000000000 +0100 +@@ -769,6 +769,7 @@ GMSGFMT + MSGFMT + USE_NLS + CC_FOR_BUILD ++CFLAGS_FOR_BUILD + RC + OTOOL64 + OTOOL +@@ -909,7 +910,8 @@ LDFLAGS + LIBS + CPPFLAGS + CPP +-CC_FOR_BUILD' ++CC_FOR_BUILD ++CFLAGS_FOR_BUILD' + + + # Initialize some variables set by options. +@@ -11290,8 +11292,10 @@ CC="$lt_save_CC" + $as_echo_n "checking for cc for build... " >&6; } + if test "$cross_compiling" = "yes"; then + CC_FOR_BUILD="${CC_FOR_BUILD-cc}" ++ CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD}" + else + CC_FOR_BUILD="${CC_FOR_BUILD-$CC}" ++ CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD-$CFLAGS}" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5 + $as_echo "$CC_FOR_BUILD" >&6; } diff --git a/package/libgpg-error/patches/patch-src_Makefile_in b/package/libgpg-error/patches/patch-src_Makefile_in new file mode 100644 index 000000000..d19b518db --- /dev/null +++ b/package/libgpg-error/patches/patch-src_Makefile_in @@ -0,0 +1,25 @@ +--- libgpg-error-1.9.orig/src/Makefile.in 2010-07-21 10:00:00.000000000 +0200 ++++ libgpg-error-1.9/src/Makefile.in 2011-02-05 15:44:54.000000000 +0100 +@@ -149,6 +149,7 @@ BUILD_TIMESTAMP = @BUILD_TIMESTAMP@ + CC = @CC@ + CCDEPMODE = @CCDEPMODE@ + CC_FOR_BUILD = @CC_FOR_BUILD@ ++CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ + CFLAGS = @CFLAGS@ + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ +@@ -868,12 +869,12 @@ gpg-error.def: Makefile gpg-error.def.in + # It is correct to use $(CC_FOR_BUILD) here. We want to run the + # program at build time. + mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile +- $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c ++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c + + # It is correct to use $(CC_FOR_BUILD) here. We want to run the + # program at build time. + @HAVE_W32CE_SYSTEM_TRUE@mkw32errmap: mkw32errmap.c mkw32errmap.tab.h Makefile +-@HAVE_W32CE_SYSTEM_TRUE@ $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c ++@HAVE_W32CE_SYSTEM_TRUE@ $(CC_FOR_BUILD) $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c + + code-from-errno.h: mkerrcodes Makefile + ./mkerrcodes | $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@ |