diff options
author | Shane Wang <shane.wang@intel.com> | 2012-01-22 16:56:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-24 11:54:24 +0000 |
commit | be76d89496fdefe16852b97cadded4ed956cf401 (patch) | |
tree | dad7f398ab8a70a9f0e88f9768b7f5a3d14fb5c5 /meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch | |
parent | 07b940b75212ab018733b8002c316be06a6c65f9 (diff) | |
download | poky-be76d89496fdefe16852b97cadded4ed956cf401.tar.gz |
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
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch')
-rw-r--r-- | meta/recipes-extended/ed/ed-1.6/ed-1.2-build.patch | 43 |
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 @@ | |||
1 | http://lists.gnu.org/archive/html/bug-ed/2008-12/msg00001.html | ||
2 | |||
3 | 2007-04-16 Mike Frysinger <vapier@gentoo.org> | ||
4 | |||
5 | * Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can | ||
6 | override if they so choose. | ||
7 | * Only set CFLAGS/CXXFLAGS if user did not specify any. | ||
8 | |||
9 | ed had already taken GPLv3 when this patch out, so it should be GPLv3. | ||
10 | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Index: ed-1.5/configure | ||
15 | =================================================================== | ||
16 | --- ed-1.5.orig/configure 2010-08-30 07:34:49.000000000 -0700 | ||
17 | +++ ed-1.5/configure 2010-11-20 16:42:20.490645823 -0800 | ||
18 | @@ -26,10 +26,6 @@ | ||
19 | mandir='$(datadir)/man' | ||
20 | sysconfdir='$(prefix)/etc' | ||
21 | program_prefix= | ||
22 | -CC= | ||
23 | -CPPFLAGS= | ||
24 | -CFLAGS='-Wall -W -O2' | ||
25 | -LDFLAGS= | ||
26 | |||
27 | # Loop over all args | ||
28 | while [ -n "$1" ] ; do | ||
29 | @@ -105,6 +101,14 @@ | ||
30 | esac | ||
31 | done | ||
32 | |||
33 | +# Defaults if the user did not select any | ||
34 | +if [ x"${CFLAGS+set}" != xset ] ; then | ||
35 | + CFLAGS='-Wall -W -O2' | ||
36 | +fi | ||
37 | +if [ x"${CXXFLAGS+set}" != xset ] ; then | ||
38 | + CXXFLAGS='-Wall -W -O2' | ||
39 | +fi | ||
40 | + | ||
41 | # Find the source files, if location was not specified. | ||
42 | srcdirtext= | ||
43 | if [ -z "${srcdir}" ] ; then | ||