diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2010-11-19 08:00:36 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-22 10:25:34 +0000 |
commit | e101a71e1b5c881d23346f5aca2b53da6f649278 (patch) | |
tree | 3608cc9977cbabfe0393db7a96e76f79cba95311 /meta/recipes-extended/ed/ed-1.5 | |
parent | 32860b9e619f2ddc05ec4089f01256a5f816fa16 (diff) | |
download | poky-e101a71e1b5c881d23346f5aca2b53da6f649278.tar.gz |
ed: Update to 1.5
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Diffstat (limited to 'meta/recipes-extended/ed/ed-1.5')
-rw-r--r-- | meta/recipes-extended/ed/ed-1.5/ed-1.2-build.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-extended/ed/ed-1.5/ed-1.2-build.patch b/meta/recipes-extended/ed/ed-1.5/ed-1.2-build.patch new file mode 100644 index 0000000000..a65c433d57 --- /dev/null +++ b/meta/recipes-extended/ed/ed-1.5/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 | Index: ed-1.4/configure | ||
13 | =================================================================== | ||
14 | --- ed-1.4.orig/configure 2009-07-10 19:54:33.000000000 +0800 | ||
15 | +++ ed-1.4/configure 2010-08-05 17:41:51.000000000 +0800 | ||
16 | @@ -26,12 +26,6 @@ | ||
17 | mandir='$(datadir)/man' | ||
18 | sysconfdir='$(prefix)/etc' | ||
19 | program_prefix= | ||
20 | -CC= | ||
21 | -CXX= | ||
22 | -CPPFLAGS= | ||
23 | -CFLAGS='-Wall -W -O2' | ||
24 | -CXXFLAGS='-Wall -W -O2' | ||
25 | -LDFLAGS= | ||
26 | |||
27 | # Loop over all args | ||
28 | while [ x"$1" != x ] ; do | ||
29 | @@ -111,6 +105,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 [ x"${srcdir}" = x ] ; then | ||