summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHong Liu <hongl.fnst@cn.fujitsu.com>2018-05-22 13:10:29 +0800
committerKhem Raj <raj.khem@gmail.com>2018-05-26 21:10:55 -0700
commitb475e300fd5602a5aa4b35cc7b4b3427875ad25d (patch)
treee5e68418391fa0538dc5abbdd8bee631abe445a8
parent3205d00170229d9d8a7cb4a1304c971f88038c35 (diff)
downloadmeta-openembedded-b475e300fd5602a5aa4b35cc7b4b3427875ad25d.tar.gz
byacc: 20170201 -> 20180510
1. Upgrade byacc from 20170201 to 20180510 2. Update md5 checksum of license, since the copyright's time has been modified. 3. Modify the SRC_URI 4. Modify 0001-byacc-do-not-reorder-CC-and-CFLAGS.patch Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/byacc/byacc.inc2
-rw-r--r--meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch70
-rw-r--r--meta-oe/recipes-extended/byacc/byacc_20180510.bb (renamed from meta-oe/recipes-extended/byacc/byacc_20170201.bb)6
3 files changed, 50 insertions, 28 deletions
diff --git a/meta-oe/recipes-extended/byacc/byacc.inc b/meta-oe/recipes-extended/byacc/byacc.inc
index 9bdafd244..5214715cd 100644
--- a/meta-oe/recipes-extended/byacc/byacc.inc
+++ b/meta-oe/recipes-extended/byacc/byacc.inc
@@ -6,7 +6,7 @@ programming language."
6SECTION = "devel" 6SECTION = "devel"
7LICENSE = "PD" 7LICENSE = "PD"
8 8
9SRC_URI = "ftp://invisible-island.net/byacc/byacc-${PV}.tgz \ 9SRC_URI = "ftp://ftp.invisible-island.net/byacc/byacc-${PV}.tgz \
10 file://byacc-open.patch \ 10 file://byacc-open.patch \
11 file://0001-byacc-do-not-reorder-CC-and-CFLAGS.patch" 11 file://0001-byacc-do-not-reorder-CC-and-CFLAGS.patch"
12 12
diff --git a/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch b/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch
index 7cd2510c8..3bc0db96e 100644
--- a/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch
+++ b/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch
@@ -9,28 +9,29 @@ Delete all these stuff so that we could have all options we need.
9Upstream-Status: Inappropriate [OE Specific] 9Upstream-Status: Inappropriate [OE Specific]
10 10
11Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 11Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
12
12--- 13---
13 aclocal.m4 | 1 - 14 aclocal.m4 | 1 -
14 configure | 119 ------------------------------------------------------------- 15 configure | 140 -------------------------------------------------------------
15 2 files changed, 120 deletions(-) 16 2 files changed, 141 deletions(-)
16 17
17diff --git a/aclocal.m4 b/aclocal.m4 18diff --git a/aclocal.m4 b/aclocal.m4
18index 917a848..62ef241 100644 19index 0d14f26..0cefa08 100644
19--- a/aclocal.m4 20--- a/aclocal.m4
20+++ b/aclocal.m4 21+++ b/aclocal.m4
21@@ -1021,7 +1021,6 @@ CF_GCC_VERSION 22@@ -1038,7 +1038,6 @@ CF_GCC_VERSION
22 CF_ACVERSION_CHECK(2.52, 23 CF_ACVERSION_CHECK(2.52,
23 [AC_PROG_CC_STDC], 24 [AC_PROG_CC_STDC],
24 [CF_ANSI_CC_REQD]) 25 [CF_ANSI_CC_REQD])
25-CF_CC_ENV_FLAGS 26-CF_CC_ENV_FLAGS
26 ])dnl 27 ])dnl
27 dnl --------------------------------------------------------------------------- 28 dnl ---------------------------------------------------------------------------
28 dnl CF_PROG_GROFF version: 2 updated: 2015/07/04 11:16:27 29 dnl CF_PROG_GROFF version: 3 updated: 2018/01/07 13:16:19
29diff --git a/configure b/configure 30diff --git a/configure b/configure
30index 9707e50..4f0497c 100755 31index d27ae31..077c648 100755
31--- a/configure 32--- a/configure
32+++ b/configure 33+++ b/configure
33@@ -1946,125 +1946,6 @@ esac 34@@ -1946,146 +1946,6 @@ esac
34 # This should have been defined by AC_PROG_CC 35 # This should have been defined by AC_PROG_CC
35 : ${CC:=cc} 36 : ${CC:=cc}
36 37
@@ -43,8 +44,9 @@ index 9707e50..4f0497c 100755
43- { echo "$as_me:1955: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 44- { echo "$as_me:1955: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
44-echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} 45-echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
45- # humor him... 46- # humor him...
46- cf_flags=`echo "$CC" | sed -e 's/^.*[ ]\(-[^ ]\)/\1/'` 47- cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'`
47- CC=`echo "$CC " | sed -e 's/[ ]-[^ ].*$//' -e 's/[ ]*$//'` 48- cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'`
49- CC="$cf_prog"
48- for cf_arg in $cf_flags 50- for cf_arg in $cf_flags
49- do 51- do
50- case "x$cf_arg" in 52- case "x$cf_arg" in
@@ -55,7 +57,7 @@ index 9707e50..4f0497c 100755
55-cf_new_cppflags= 57-cf_new_cppflags=
56-cf_new_extra_cppflags= 58-cf_new_extra_cppflags=
57- 59-
58-for cf_add_cflags in $cf_flags 60-for cf_add_cflags in $cf_arg
59-do 61-do
60-case $cf_fix_cppflags in 62-case $cf_fix_cppflags in
61-(no) 63-(no)
@@ -70,10 +72,16 @@ index 9707e50..4f0497c 100755
70- && cf_fix_cppflags=yes 72- && cf_fix_cppflags=yes
71- 73-
72- if test $cf_fix_cppflags = yes ; then 74- if test $cf_fix_cppflags = yes ; then
73- cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" 75-
76- test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
77- cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
78-
74- continue 79- continue
75- elif test "${cf_tst_cflags}" = "\"'" ; then 80- elif test "${cf_tst_cflags}" = "\"'" ; then
76- cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" 81-
82- test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
83- cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
84-
77- continue 85- continue
78- fi 86- fi
79- ;; 87- ;;
@@ -92,17 +100,25 @@ index 9707e50..4f0497c 100755
92- 100-
93- ;; 101- ;;
94- esac 102- esac
95- cf_new_cppflags="$cf_new_cppflags $cf_add_cflags" 103-
104- test -n "$cf_new_cppflags" && cf_new_cppflags="$cf_new_cppflags "
105- cf_new_cppflags="${cf_new_cppflags}$cf_add_cflags"
106-
96- ;; 107- ;;
97- esac 108- esac
98- ;; 109- ;;
99- (*) 110- (*)
100- cf_new_cflags="$cf_new_cflags $cf_add_cflags" 111-
112- test -n "$cf_new_cflags" && cf_new_cflags="$cf_new_cflags "
113- cf_new_cflags="${cf_new_cflags}$cf_add_cflags"
114-
101- ;; 115- ;;
102- esac 116- esac
103- ;; 117- ;;
104-(yes) 118-(yes)
105- cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags" 119-
120- test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags "
121- cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags"
106- 122-
107- cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` 123- cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`
108- 124-
@@ -115,17 +131,23 @@ index 9707e50..4f0497c 100755
115- 131-
116-if test -n "$cf_new_cflags" ; then 132-if test -n "$cf_new_cflags" ; then
117- 133-
118- CFLAGS="$CFLAGS $cf_new_cflags" 134- test -n "$CFLAGS" && CFLAGS="$CFLAGS "
135- CFLAGS="${CFLAGS}$cf_new_cflags"
136-
119-fi 137-fi
120- 138-
121-if test -n "$cf_new_cppflags" ; then 139-if test -n "$cf_new_cppflags" ; then
122- 140-
123- CPPFLAGS="$CPPFLAGS $cf_new_cppflags" 141- test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
142- CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
143-
124-fi 144-fi
125- 145-
126-if test -n "$cf_new_extra_cppflags" ; then 146-if test -n "$cf_new_extra_cppflags" ; then
127- 147-
128- EXTRA_CPPFLAGS="$cf_new_extra_cppflags $EXTRA_CPPFLAGS" 148- test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
149- EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
150-
129-fi 151-fi
130- 152-
131- ;; 153- ;;
@@ -136,26 +158,26 @@ index 9707e50..4f0497c 100755
136- done 158- done
137- test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6 159- test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6
138- 160-
139-echo "${as_me:-configure}:2051: testing resulting CC: '$CC' ..." 1>&5 161-echo "${as_me:-configure}:2072: testing resulting CC: '$CC' ..." 1>&5
140- 162-
141- test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6 163- test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6
142- 164-
143-echo "${as_me:-configure}:2055: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 165-echo "${as_me:-configure}:2076: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
144- 166-
145- test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6 167- test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
146- 168-
147-echo "${as_me:-configure}:2059: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 169-echo "${as_me:-configure}:2080: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5
148- 170-
149- ;; 171- ;;
150-(*) 172-(*)
151- echo "$as_me:2063: result: ok" >&5 173- echo "$as_me:2084: result: ok" >&5
152-echo "${ECHO_T}ok" >&6 174-echo "${ECHO_T}ok" >&6
153- ;; 175- ;;
154-esac 176-esac
155- 177-
156 echo "$as_me:2068: checking whether ${MAKE-make} sets \${MAKE}" >&5 178 echo "$as_me:2089: checking whether ${MAKE-make} sets \${MAKE}" >&5
157 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 179 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
158 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 180 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
159-- 181--
1602.8.3 1822.7.4
161 183
diff --git a/meta-oe/recipes-extended/byacc/byacc_20170201.bb b/meta-oe/recipes-extended/byacc/byacc_20180510.bb
index 702c4c99e..f30c42640 100644
--- a/meta-oe/recipes-extended/byacc/byacc_20170201.bb
+++ b/meta-oe/recipes-extended/byacc/byacc_20180510.bb
@@ -4,9 +4,9 @@
4# Setting to PD as this is what the upstream has it as. 4# Setting to PD as this is what the upstream has it as.
5 5
6LICENSE = "PD" 6LICENSE = "PD"
7LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=9176bfb16dab43ebcb8e50d9ee9550b6" 7LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=8b2933503c0443e041d3168dc0c65640"
8require byacc.inc 8require byacc.inc
9 9
10SRC_URI[md5sum] = "4bb274bbd7b648d4251c2b9ca36ed0c9" 10SRC_URI[md5sum] = "97fdc0745e0ff0cef5c09d57d0c6752d"
11SRC_URI[sha256sum] = "90b768d177f91204e6e7cef226ae1dc7cac831b625774cebd3e233a917754f91" 11SRC_URI[sha256sum] = "d0940dbffbc7e9c9dd4985c25349c390beede84ae1d9fe86b71c0aa659a6d693"
12 12