summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-17 00:29:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-17 00:29:06 +0000
commit86f6f256241fc83c07a77de25873c6335ddb8524 (patch)
treeecd6256543d1e42771e593c3736ca72f8b607592 /sys-apps/ed/files
parentMake an addon for mdev startup. (diff)
downloadgentoo-2-86f6f256241fc83c07a77de25873c6335ddb8524.tar.gz
gentoo-2-86f6f256241fc83c07a77de25873c6335ddb8524.tar.bz2
gentoo-2-86f6f256241fc83c07a77de25873c6335ddb8524.zip
Version bump #174741 by Ryan Hill.
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-apps/ed/files')
-rw-r--r--sys-apps/ed/files/digest-ed-0.53
-rw-r--r--sys-apps/ed/files/ed-0.5-build.patch68
2 files changed, 71 insertions, 0 deletions
diff --git a/sys-apps/ed/files/digest-ed-0.5 b/sys-apps/ed/files/digest-ed-0.5
new file mode 100644
index 000000000000..cea639213cc0
--- /dev/null
+++ b/sys-apps/ed/files/digest-ed-0.5
@@ -0,0 +1,3 @@
+MD5 4ee21e9dcc9b5b6012c23038734e1632 ed-0.5.tar.bz2 54220
+RMD160 5faad03c8cc2faf799b2ad6312bb71c94f3ecd8f ed-0.5.tar.bz2 54220
+SHA256 edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e ed-0.5.tar.bz2 54220
diff --git a/sys-apps/ed/files/ed-0.5-build.patch b/sys-apps/ed/files/ed-0.5-build.patch
new file mode 100644
index 000000000000..c7d6ee5c2c9f
--- /dev/null
+++ b/sys-apps/ed/files/ed-0.5-build.patch
@@ -0,0 +1,68 @@
+2007-04-16 Mike Frysinger <vapier@gentoo.org>
+
+ * Clean locale vars from environment to maintain a sane state.
+ * 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/configure
++++ ed/configure
+@@ -14,6 +14,19 @@
+ progversion=0.5
+ srctrigger=ed.h
+
++# NLS nuisances.
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++ eval $as_var=C; export $as_var
++ else
++ unset $as_var
++ fi
++done
++
+ # clear some things potentially inherited from environment.
+ srcdir=
+ prefix=/usr/local
+@@ -23,12 +36,6 @@
+ infodir='$(datadir)/info'
+ mandir='$(datadir)/man'
+ sysconfdir='$(prefix)/etc'
+-CC=
+-CXX=
+-CPPFLAGS=
+-CFLAGS='-Wall -W -O2'
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
+
+ # Loop over all args
+ while [ x"$1" != x ] ; do
+@@ -102,6 +109,14 @@
+ esac
+ done
+
++# Defaults if the user did not select any
++if [ x"${CFLAGS}" = x ] ; then
++ CFLAGS='-Wall -W -O2'
++fi
++if [ x"${CXXFLAGS}" = x ] ; then
++ CXXFLAGS='-Wall -W -O2'
++fi
++
+ # Find the source files, if location was not specified.
+ srcdirtext=
+ if [ x"${srcdir}" = x ] ; then
+--- ed/Makefile.in
++++ ed/Makefile.in
+@@ -48,7 +48,7 @@
+ if test ! -d $(DESTDIR)$(bindir) ; then $(INSTALL) -d $(DESTDIR)$(bindir) ; fi
+ $(INSTALL_PROGRAM) ./$(progname) $(DESTDIR)$(bindir)/$(progname)
+ -rm -f $(DESTDIR)$(bindir)/r$(progname)
+- cd $(DESTDIR)$(bindir) ; ln $(progname) r$(progname)
++ cd $(DESTDIR)$(bindir) ; ln -s $(progname) r$(progname)
+
+ install-info :
+ if test ! -d $(DESTDIR)$(infodir) ; then $(INSTALL) -d $(DESTDIR)$(infodir) ; fi