* [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project
@ 2014-11-20 8:43 Qian Lei
2014-11-20 8:43 ` [meta-selinux][PATCH 2/2] ustr: Add a new patch Qian Lei
2015-01-12 20:00 ` [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project Joe MacDonald
0 siblings, 2 replies; 3+ messages in thread
From: Qian Lei @ 2014-11-20 8:43 UTC (permalink / raw)
To: yocto; +Cc: openembedded-devel
Official upstream is still OK, so we use it first
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
recipes-extended/ustr/ustr_1.0.4.bb | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/recipes-extended/ustr/ustr_1.0.4.bb b/recipes-extended/ustr/ustr_1.0.4.bb
index 6651a73..d1f3d93 100644
--- a/recipes-extended/ustr/ustr_1.0.4.bb
+++ b/recipes-extended/ustr/ustr_1.0.4.bb
@@ -11,11 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c79c6e2ae13418d16d7dc82df960a1e7 \
file://LICENSE_LGPL;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
file://LICENSE_MIT;md5=c61e779b782608472bd87593c3c3916f"
-# Official upstream seems to be offline.. replace w/ a Fedora Project mirror.
-# http://www.and.org/ustr/1.0.4/ustr-1.0.4.tar.bz2
-
SRC_URI = "\
- http://pkgs.fedoraproject.org/repo/pkgs/ustr/ustr-1.0.4.tar.bz2/93147d9f0c9765d4cd0f04f7e44bdfce/ustr-1.0.4.tar.bz2 \
+ http://www.and.org/ustr/${PV}/${PN}-${PV}.tar.bz2 \
file://ustr-makefile-fix.patch;patch=1 \
file://ustr-fix__va_copy-not-defined.patch;patch=2"
SRC_URI[md5sum] = "93147d9f0c9765d4cd0f04f7e44bdfce"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [meta-selinux][PATCH 2/2] ustr: Add a new patch
2014-11-20 8:43 [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project Qian Lei
@ 2014-11-20 8:43 ` Qian Lei
2015-01-12 20:00 ` [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project Joe MacDonald
1 sibling, 0 replies; 3+ messages in thread
From: Qian Lei @ 2014-11-20 8:43 UTC (permalink / raw)
To: yocto; +Cc: openembedded-devel
This patch has been applied in fedora to fix c99 inline problems.
Upstream hasn't been updated since 2008 and those c99 problems
still exist in the last version 1.0.4.
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
---
recipes-extended/ustr/ustr/ustr-c99-inline.patch | 30 ++++++++++++++++++++++++
recipes-extended/ustr/ustr_1.0.4.bb | 3 ++-
2 files changed, 32 insertions(+), 1 deletion(-)
create mode 100644 recipes-extended/ustr/ustr/ustr-c99-inline.patch
diff --git a/recipes-extended/ustr/ustr/ustr-c99-inline.patch b/recipes-extended/ustr/ustr/ustr-c99-inline.patch
new file mode 100644
index 0000000..dfa021f
--- /dev/null
+++ b/recipes-extended/ustr/ustr/ustr-c99-inline.patch
@@ -0,0 +1,30 @@
+diff -rup ustr-1.0.4-orig/ustr-compiler.h ustr-1.0.4/ustr-compiler.h
+--- ustr-1.0.4-orig/ustr-compiler.h 2008-02-15 15:12:28.000000000 -0500
++++ ustr-1.0.4/ustr-compiler.h 2008-06-13 15:25:18.000000000 -0400
+@@ -113,17 +113,23 @@
+ #endif
+
+ #ifndef USTR_CONF_EI_PROTO /* external inline */
+-# if USTR_CONF_INCLUDE_CODEONLY_HEADERS
++# if USTR_CONF_INCLUDE_CODEONLY_HEADERS || ! defined(__GNUC__) || \
++ ! USTR_CONF_COMPILE_USE_INLINE
+ # define USTR_CONF_EI_PROTO static USTR__INLINE
+ # else
+ # define USTR_CONF_EI_PROTO extern
+ # endif
+ #endif
+ #ifndef USTR_CONF_II_PROTO /* implementation of inline */
+-# if USTR_CONF_INCLUDE_CODEONLY_HEADERS
++# if USTR_CONF_INCLUDE_CODEONLY_HEADERS || ! defined(__GNUC__) || \
++ ! USTR_CONF_COMPILE_USE_INLINE
+ # define USTR_CONF_II_PROTO static USTR__INLINE
+ # else
+-# define USTR_CONF_II_PROTO extern inline
++# if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__)
++# define USTR_CONF_II_PROTO extern inline __attribute__ ((__gnu_inline__))
++# else
++# define USTR_CONF_II_PROTO extern inline
++# endif
+ # endif
+ #endif
+
diff --git a/recipes-extended/ustr/ustr_1.0.4.bb b/recipes-extended/ustr/ustr_1.0.4.bb
index d1f3d93..485e80d 100644
--- a/recipes-extended/ustr/ustr_1.0.4.bb
+++ b/recipes-extended/ustr/ustr_1.0.4.bb
@@ -14,7 +14,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c79c6e2ae13418d16d7dc82df960a1e7 \
SRC_URI = "\
http://www.and.org/ustr/${PV}/${PN}-${PV}.tar.bz2 \
file://ustr-makefile-fix.patch;patch=1 \
- file://ustr-fix__va_copy-not-defined.patch;patch=2"
+ file://ustr-fix__va_copy-not-defined.patch;patch=2 \
+ file://ustr-c99-inline.patch;patch=3"
SRC_URI[md5sum] = "93147d9f0c9765d4cd0f04f7e44bdfce"
SRC_URI[sha256sum] = "3daf6eae9f78de1e872c0b2b83cce35515b94d4bb8a074e48f331fd99e1fc2c4"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project
2014-11-20 8:43 [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project Qian Lei
2014-11-20 8:43 ` [meta-selinux][PATCH 2/2] ustr: Add a new patch Qian Lei
@ 2015-01-12 20:00 ` Joe MacDonald
1 sibling, 0 replies; 3+ messages in thread
From: Joe MacDonald @ 2015-01-12 20:00 UTC (permalink / raw)
To: Qian Lei; +Cc: yocto, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]
Clearing out the meta-selinux queue. This has been merged with one
minor tweak, PN -> BPN in the SRC_URI.
Thanks.
-J.
[[meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project] On 14.11.20 (Thu 16:43) Qian Lei wrote:
> Official upstream is still OK, so we use it first
>
> Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
> ---
> recipes-extended/ustr/ustr_1.0.4.bb | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/recipes-extended/ustr/ustr_1.0.4.bb b/recipes-extended/ustr/ustr_1.0.4.bb
> index 6651a73..d1f3d93 100644
> --- a/recipes-extended/ustr/ustr_1.0.4.bb
> +++ b/recipes-extended/ustr/ustr_1.0.4.bb
> @@ -11,11 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c79c6e2ae13418d16d7dc82df960a1e7 \
> file://LICENSE_LGPL;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
> file://LICENSE_MIT;md5=c61e779b782608472bd87593c3c3916f"
>
> -# Official upstream seems to be offline.. replace w/ a Fedora Project mirror.
> -# http://www.and.org/ustr/1.0.4/ustr-1.0.4.tar.bz2
> -
> SRC_URI = "\
> - http://pkgs.fedoraproject.org/repo/pkgs/ustr/ustr-1.0.4.tar.bz2/93147d9f0c9765d4cd0f04f7e44bdfce/ustr-1.0.4.tar.bz2 \
> + http://www.and.org/ustr/${PV}/${PN}-${PV}.tar.bz2 \
> file://ustr-makefile-fix.patch;patch=1 \
> file://ustr-fix__va_copy-not-defined.patch;patch=2"
> SRC_URI[md5sum] = "93147d9f0c9765d4cd0f04f7e44bdfce"
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-12 20:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 8:43 [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project Qian Lei
2014-11-20 8:43 ` [meta-selinux][PATCH 2/2] ustr: Add a new patch Qian Lei
2015-01-12 20:00 ` [meta-selinux][PATCH 1/2] ustr: Get source from official upstream instead of Fedora Project Joe MacDonald
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.