diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-06 20:33:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-06 20:33:31 +0000 |
commit | 0c7cc675f8ac908cd3a8c6723c2a5daa234749b7 (patch) | |
tree | cc352a3d3970598de8c30c54cc80cd93f27f2aea /sys-apps/ed/files | |
parent | punt old, use xfconf_use_debug (diff) | |
download | gentoo-2-0c7cc675f8ac908cd3a8c6723c2a5daa234749b7.tar.gz gentoo-2-0c7cc675f8ac908cd3a8c6723c2a5daa234749b7.tar.bz2 gentoo-2-0c7cc675f8ac908cd3a8c6723c2a5daa234749b7.zip |
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/ed/files')
-rw-r--r-- | sys-apps/ed/files/ed-1.5-build.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/ed/files/ed-1.5-build.patch b/sys-apps/ed/files/ed-1.5-build.patch new file mode 100644 index 000000000000..83ee9c20cfb6 --- /dev/null +++ b/sys-apps/ed/files/ed-1.5-build.patch @@ -0,0 +1,32 @@ +http://lists.gnu.org/archive/html/bug-ed/2008-12/msg00001.html + +2007-04-16 Mike Frysinger <vapier@gentoo.org> + + * Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can + override if they so choose. + * Only set CFLAGS/CXXFLAGS if user did not specify any. + +--- ed-1.0/configure ++++ ed-1.0/configure +@@ -26,10 +26,6 @@ + mandir='$(datadir)/man' + sysconfdir='$(prefix)/etc' + program_prefix= +-CC= +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-LDFLAGS= + + # Loop over all args + while [ -n "$1" ] ; do +@@ -105,6 +101,10 @@ + esac + done + ++# Defaults if the user did not select any ++if [ x"${CFLAGS+set}" != xset ] ; then ++ CFLAGS='-Wall -W -O2' ++fi + # Find the source files, if location was not specified. + srcdirtext= + if [ -z "${srcdir}" ] ; then |