summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/ed/ed-1.6
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-01-22 16:56:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-24 11:23:57 +0000
commit35c7864ee92ce38bd2992813c0ab15af9977417a (patch)
tree7508c3b33480cc13627d191ed62d83beaae7e529 /meta/recipes-extended/ed/ed-1.6
parentd691b150d1222a23422658d6dc4b72a3307bc77f (diff)
downloadopenembedded-core-35c7864ee92ce38bd2992813c0ab15af9977417a.tar.gz
openembedded-core-35c7864ee92ce38bd2992813c0ab15af9977417a.tar.bz2
openembedded-core-35c7864ee92ce38bd2992813c0ab15af9977417a.zip
ed: upgrade to 1.6
This patch is to upgrade ed to 1.6, and the change of license checksum is because the diff between two ed.h files: 3c3,4 < Copyright (C) 1993, 1994, 2006, 2007, 2008, 2009, 2010 --- > Copyright (C) 1993, 1994 Andrew Moore, Talke Studio > Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 the diff between two main.c files: 2c2 < Copyright (C) 1993, 1994, 2006, 2007, 2008, 2009, 2010 --- > Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 46d45 Signed-off-by: Shane Wang <shane.wang@intel.com>
Diffstat (limited to 'meta/recipes-extended/ed/ed-1.6')
-rw-r--r--meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch b/meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch
new file mode 100644
index 0000000000..d30b393364
--- /dev/null
+++ b/meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch
@@ -0,0 +1,43 @@
+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 had already taken GPLv3 when this patch out, so it should be GPLv3.
+Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
+
+Upstream-Status: Pending
+
+Index: ed-1.5/configure
+===================================================================
+--- ed-1.5.orig/configure 2010-08-30 07:34:49.000000000 -0700
++++ ed-1.5/configure 2010-11-20 16:42:20.490645823 -0800
+@@ -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,14 @@
+ esac
+ done
+
++# Defaults if the user did not select any
++if [ x"${CFLAGS+set}" != xset ] ; then
++ CFLAGS='-Wall -W -O2'
++fi
++if [ x"${CXXFLAGS+set}" != xset ] ; then
++ CXXFLAGS='-Wall -W -O2'
++fi
++
+ # Find the source files, if location was not specified.
+ srcdirtext=
+ if [ -z "${srcdir}" ] ; then