[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1528/8267] slang: 2.2.4 -> 2.3.0
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1528/8267] slang: 2.2.4 -> 2.3.0
- Date: Sat, 16 Dec 2017 21:57:13 +0000 (UTC)
commit 91a6f3a3756219ae91435d60a0ceb8fd36fd056f
Author: Robert Yang <liezhi yang windriver com>
Date: Mon Jul 25 01:16:28 2016 -0700
slang: 2.2.4 -> 2.3.0
* Removed:
change-char-type-to-signed-char-in-macros.patch
sprintf-bug-concerning-8-bit-characters.patch
They are already in the source.
* Updated:
fix-check-pcre.patch
fix-check-pcre.patch
slang-fix-the-iconv-existence-checking.patch
* Use SECURITY_NO_PIE_CFLAGS for SECURITY_CFLAGS, it can't be built with
"-pie -fpie":
tmp/sysroots/qemux86-64/usr/lib64/../lib64/Scrt1.o: In function `_start':
/usr/src/debug/glibc/2.24-r0/git/csu/../sysdeps/x86_64/start.S:104: undefined reference to `main'
/tmp/ccMFTA8A.o: In function `smg_char_at':
/usr/src/debug/slang/2.3.0-r0/slang-2.3.0/modules/slsmg-module.c:134: undefined reference to
`SLsmg_char_at'
/tmp/ccMFTA8A.o: In function `smg_resume_smg':
(From OE-Core rev: b2d6e069b9ecc5a13754393200a6fa48cdaaf4c6)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/conf/distro/include/security_flags.inc | 1 +
...change-char-type-to-signed-char-in-macros.patch | 218 --------------------
.../slang/slang/fix-check-pcre.patch | 30 ++-
meta/recipes-extended/slang/slang/rpathfix.patch | 18 ++-
.../slang-fix-the-iconv-existence-checking.patch | 31 ++-
.../sprintf-bug-concerning-8-bit-characters.patch | 42 ----
.../slang/{slang_2.2.4.bb => slang_2.3.0.bb} | 9 +-
7 files changed, 58 insertions(+), 291 deletions(-)
---
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index a7be185..d953161 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -86,6 +86,7 @@ SECURITY_CFLAGS_pn-python3 = "${SECURITY_NO_PIE_CFLAGS}"
# Revert RPM to using internally supported values
SECURITY_CFLAGS_pn-rpm = "${lcl_maybe_fortify} -fstack-protector"
SECURITY_CFLAGS_pn-syslinux = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-slang = "${SECURITY_NO_PIE_CFLAGS}"
SECURITY_CFLAGS_pn-tcl = "${SECURITY_NO_PIE_CFLAGS}"
SECURITY_CFLAGS_pn-tiff = "${SECURITY_NO_PIE_CFLAGS}"
SECURITY_CFLAGS_pn-uclibc = ""
diff --git a/meta/recipes-extended/slang/slang/fix-check-pcre.patch
b/meta/recipes-extended/slang/slang/fix-check-pcre.patch
index 0c1553a..a0ec0ff 100644
--- a/meta/recipes-extended/slang/slang/fix-check-pcre.patch
+++ b/meta/recipes-extended/slang/slang/fix-check-pcre.patch
@@ -11,14 +11,13 @@ this off.
Upstream-Status: Inappropriate
Signed-off-by: Roy.Li <rongqing li windriver com>
---
- configure | 60 ++++++------------------------------------------------------
- 1 files changed, 6 insertions(+), 54 deletions(-)
+ configure | 72 +++++---------------------------------------------------------
+ 1 file changed, 6 insertions(+), 66 deletions(-)
diff --git a/configure b/configure
-index f1586c3..d22814f 100755
--- a/configure
+++ b/configure
-@@ -6991,6 +6991,7 @@ $as_echo_n "checking for the pcre library and header files ... " >&6; }
+@@ -7191,6 +7191,7 @@ $as_echo_n "checking for the pcre library and header files ... " >&6; }
/usr/include/pcre,/usr/lib \
/usr/pcre/include,/usr/pcre/lib \
/usr/include,/usr/lib \
@@ -26,7 +25,7 @@ index f1586c3..d22814f 100755
/opt/include/pcre,/opt/lib \
/opt/pcre/include,/opt/pcre/lib \
/opt/include,/opt/lib"
-@@ -7021,14 +7022,14 @@ $as_echo_n "checking for the pcre library and header files ... " >&6; }
+@@ -7221,14 +7222,14 @@ $as_echo_n "checking for the pcre library and header files ... " >&6; }
xincdir=`echo $include_and_lib | tr ',' ' ' | awk '{print $1}'`
xlibdir=`echo $include_and_lib | tr ',' ' ' | awk '{print $2}'`
found=0
@@ -45,7 +44,7 @@ index f1586c3..d22814f 100755
jd_with_pcre_library="yes"
found=1
break
-@@ -7054,56 +7055,7 @@ $as_echo "yes: $jd_pcre_library_dir and $jd_pcre_include_dir" >&6; }
+@@ -7255,68 +7255,7 @@ $as_echo "yes: $jd_pcre_library_dir and $jd_pcre_include_dir" >&6; }
then
PCRE_LIB=""
else
@@ -74,7 +73,7 @@ index f1586c3..d22814f 100755
- fi
- fi
- ;;
-- *osf*|*openbsd*)
+- *osf*|*openbsd*|*freebsd*)
- if test "X$GCC" = Xyes
- then
- RPATH="-Wl,-rpath,"
@@ -95,7 +94,19 @@ index f1586c3..d22814f 100755
- RPATH="$RPATH$jd_pcre_library_dir"
- fi
- else
-- RPATH="$RPATH:$jd_pcre_library_dir"
+- _already_there=0
+- for X in `echo $RPATH | sed 's/:/ /g'`
+- do
+- if test "$X" = "$jd_pcre_library_dir"
+- then
+- _already_there=1
+- break
+- fi
+- done
+- if test $_already_there = 0
+- then
+- RPATH="$RPATH:$jd_pcre_library_dir"
+- fi
- fi
-fi
-
@@ -103,6 +114,3 @@ index f1586c3..d22814f 100755
fi
PCRE_INC=-I$jd_pcre_include_dir
---
-1.7.4.1
-
diff --git a/meta/recipes-extended/slang/slang/rpathfix.patch
b/meta/recipes-extended/slang/slang/rpathfix.patch
index 50cac92..f82a531 100644
--- a/meta/recipes-extended/slang/slang/rpathfix.patch
+++ b/meta/recipes-extended/slang/slang/rpathfix.patch
@@ -10,7 +10,7 @@ Index: slang-2.2.4/configure
===================================================================
--- slang-2.2.4.orig/configure 2012-03-14 23:40:01.283560679 +0000
+++ slang-2.2.4/configure 2012-03-14 23:41:18.023558900 +0000
-@@ -6081,56 +6081,7 @@
+@@ -6246,68 +6246,7 @@ esac
ELF_CFLAGS="$ELF_CFLAGS $IEEE_CFLAGS"
CFLAGS="$CFLAGS $IEEE_CFLAGS"
@@ -39,7 +39,7 @@ Index: slang-2.2.4/configure
- fi
- fi
- ;;
-- *osf*|*openbsd*)
+- *osf*|*openbsd*|*freebsd*)
- if test "X$GCC" = Xyes
- then
- RPATH="-Wl,-rpath,"
@@ -60,7 +60,19 @@ Index: slang-2.2.4/configure
- RPATH="$RPATH$libdir"
- fi
- else
-- RPATH="$RPATH:$libdir"
+- _already_there=0
+- for X in `echo $RPATH | sed 's/:/ /g'`
+- do
+- if test "$X" = "$libdir"
+- then
+- _already_there=1
+- break
+- fi
+- done
+- if test $_already_there = 0
+- then
+- RPATH="$RPATH:$libdir"
+- fi
- fi
-fi
-
diff --git a/meta/recipes-extended/slang/slang/slang-fix-the-iconv-existence-checking.patch
b/meta/recipes-extended/slang/slang/slang-fix-the-iconv-existence-checking.patch
index 958fe98..850551e 100644
--- a/meta/recipes-extended/slang/slang/slang-fix-the-iconv-existence-checking.patch
+++ b/meta/recipes-extended/slang/slang/slang-fix-the-iconv-existence-checking.patch
@@ -19,14 +19,14 @@ Upstream-Status: Inappropriate
Signed-off-by: Zheng Junling <zhengjunling huawei com>
---
- configure | 60 ++++++------------------------------------------------------
- 1 file changed, 6 insertions(+), 54 deletions(-)
+ configure | 72 +++++---------------------------------------------------------
+ 1 file changed, 6 insertions(+), 66 deletions(-)
diff --git a/configure b/configure
-index 7a96256..91632f3 100755
+index fa395ff..7fa769c 100755
--- a/configure
+++ b/configure
-@@ -7909,6 +7909,7 @@ $as_echo_n "checking for the iconv library and header files ... " >&6; }
+@@ -8259,6 +8259,7 @@ $as_echo_n "checking for the iconv library and header files ... " >&6; }
/usr/include/iconv,/usr/lib \
/usr/iconv/include,/usr/iconv/lib \
/usr/include,/usr/lib \
@@ -34,7 +34,7 @@ index 7a96256..91632f3 100755
/opt/include/iconv,/opt/lib \
/opt/iconv/include,/opt/iconv/lib \
/opt/include,/opt/lib"
-@@ -7939,14 +7940,14 @@ $as_echo_n "checking for the iconv library and header files ... " >&6; }
+@@ -8289,14 +8290,14 @@ $as_echo_n "checking for the iconv library and header files ... " >&6; }
xincdir=`echo $include_and_lib | tr ',' ' ' | awk '{print $1}'`
xlibdir=`echo $include_and_lib | tr ',' ' ' | awk '{print $2}'`
found=0
@@ -53,7 +53,7 @@ index 7a96256..91632f3 100755
jd_with_iconv_library="yes"
found=1
break
-@@ -7972,56 +7973,7 @@ $as_echo "yes: $jd_iconv_library_dir and $jd_iconv_include_dir" >&6; }
+@@ -8201,68 +8201,7 @@ $as_echo "yes: $jd_iconv_library_dir and $jd_iconv_include_dir" >&6; }
then
ICONV_LIB=""
else
@@ -82,7 +82,7 @@ index 7a96256..91632f3 100755
- fi
- fi
- ;;
-- *osf*|*openbsd*)
+- *osf*|*openbsd*|*freebsd*)
- if test "X$GCC" = Xyes
- then
- RPATH="-Wl,-rpath,"
@@ -103,7 +103,19 @@ index 7a96256..91632f3 100755
- RPATH="$RPATH$jd_iconv_library_dir"
- fi
- else
-- RPATH="$RPATH:$jd_iconv_library_dir"
+- _already_there=0
+- for X in `echo $RPATH | sed 's/:/ /g'`
+- do
+- if test "$X" = "$jd_iconv_library_dir"
+- then
+- _already_there=1
+- break
+- fi
+- done
+- if test $_already_there = 0
+- then
+- RPATH="$RPATH:$jd_iconv_library_dir"
+- fi
- fi
-fi
-
@@ -111,6 +123,3 @@ index 7a96256..91632f3 100755
fi
ICONV_INC=-I$jd_iconv_include_dir
---
-1.8.3.4
-
diff --git a/meta/recipes-extended/slang/slang_2.2.4.bb b/meta/recipes-extended/slang/slang_2.3.0.bb
similarity index 82%
rename from meta/recipes-extended/slang/slang_2.2.4.bb
rename to meta/recipes-extended/slang/slang_2.3.0.bb
index 237e9f2..17efbbe 100644
--- a/meta/recipes-extended/slang/slang_2.2.4.bb
+++ b/meta/recipes-extended/slang/slang_2.3.0.bb
@@ -10,17 +10,14 @@ to recode S-Lang procedures in C if you need to."
HOMEPAGE = "http://www.jedsoft.org/slang/"
SECTION = "libs"
DEPENDS = "pcre ncurses"
-PR = "r12"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02"
-SRC_URI = "http://www.jedsoft.org/releases/slang/old/slang-${PV}.tar.bz2 \
+SRC_URI = "http://www.jedsoft.org/releases/${BPN}/${BP}.tar.bz2 \
file://rpathfix.patch \
file://fix-check-pcre.patch \
- file://change-char-type-to-signed-char-in-macros.patch \
- file://sprintf-bug-concerning-8-bit-characters.patch \
file://slang-fix-the-iconv-existence-checking.patch \
file://0001-Fix-error-conflicting-types-for-posix_close.patch \
"
@@ -30,8 +27,8 @@ inherit autotools-brokensep
CLEANBROKEN = "1"
-SRC_URI[md5sum] = "7fcfd447e378f07dd0c0bae671fe6487"
-SRC_URI[sha256sum] = "9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db"
+SRC_URI[md5sum] = "3bcc790460d52db1316c20395b7ac2f1"
+SRC_URI[sha256sum] = "f95224060f45e0d8212a5039b339afa5f1a94a1bb0298e796104e5b12e926129"
EXTRA_OECONF += " --without-z --without-png --without-onig --x-includes=${STAGING_DIR_HOST}/usr/include/X11
--x-libraries=${STAGING_DIR_HOST}/usr/lib"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]