From 1fea5606cc4b33e9b777fabcac5bfe28ab21b9cf Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Aug 26 2005 21:35:18 +0000 Subject: Fix builds with --param in CFLAGS --- diff --git a/rpm-4.4.2-db3-param.patch b/rpm-4.4.2-db3-param.patch new file mode 100644 index 0000000..3974825 --- /dev/null +++ b/rpm-4.4.2-db3-param.patch @@ -0,0 +1,11 @@ +--- rpm-4.4.2/db3/configure.param 2003-12-27 11:02:18.000000000 -0500 ++++ rpm-4.4.2/db3/configure 2005-08-26 10:08:48.000000000 -0400 +@@ -8,7 +8,7 @@ + rm -f config.cache + + # XXX edit CFLAGS= ... out of invocation args ??? +-ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's%--cache-file=.*$%%'`" ++ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's% --param=[^ ]*%%g' -e 's%--cache-file=.*$%%'`" + + CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \ + --enable-shared --enable-static --enable-rpc \