diff options
Diffstat (limited to 'app-arch/rpm/files/rpm-4.4.6-fix-cflags-stripping.patch')
-rw-r--r-- | app-arch/rpm/files/rpm-4.4.6-fix-cflags-stripping.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-arch/rpm/files/rpm-4.4.6-fix-cflags-stripping.patch b/app-arch/rpm/files/rpm-4.4.6-fix-cflags-stripping.patch new file mode 100644 index 0000000..bc9cca6 --- /dev/null +++ b/app-arch/rpm/files/rpm-4.4.6-fix-cflags-stripping.patch @@ -0,0 +1,25 @@ +From 98cb3f66e158d02ce39cd64a62395e3b46e28eb0 Mon Sep 17 00:00:00 2001 +From: Stanislav Ochotnicky <sochotnicky@gmail.com> +Date: Thu, 22 Apr 2010 22:28:17 +0200 +Subject: [PATCH] Improved CFLAGS stripping code a bit + +--- + db3/configure | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/db3/configure b/db3/configure +index 012b423..2856f20 100755 +--- a/db3/configure ++++ b/db3/configure +@@ -8,7 +8,7 @@ db_dist="${base_path}../db/dist" + rm -f config.cache + + # XXX edit CFLAGS= ... out of invocation args ??? +-ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's% --param=[^ ]*%%g' -e 's%--cache-file=.*$%%'`" ++ARGS="`echo $* | sed -e 's%--param[ =][^ ]*%%g' -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's%--cache-file=.*$%%'`" + + CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \ + --enable-shared --enable-static --enable-rpc \ +-- +1.6.4.4 + |