mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
libid3tag: Fix reproducibility issue
Configure was swallowing our cflags meaning the resulting binaries were not reproducible. Tweak configure not to do that and fix reproducibility. (From OE-Core rev: 1395269a6fae5cec01d721e2ad52bd7cb8fc38ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -37,7 +37,6 @@ exclude_packages = [
|
||||
'go-',
|
||||
'gstreamer1.0-python',
|
||||
'libaprutil',
|
||||
'libid3tag',
|
||||
'lttng-tools-dbg',
|
||||
'lttng-tools-ptest',
|
||||
'ltp',
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
configure contains CFLAGS filtering code which was removing our prefix-map
|
||||
flags. We need those to generate reproducible binaries. Allow them through.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
|
||||
Index: libid3tag-0.15.1b/configure.ac
|
||||
===================================================================
|
||||
--- libid3tag-0.15.1b.orig/configure.ac
|
||||
+++ libid3tag-0.15.1b/configure.ac
|
||||
@@ -99,6 +99,10 @@ do
|
||||
-mno-cygwin)
|
||||
shift
|
||||
;;
|
||||
+ -fmacro-prefix-map*|-fdebug-prefix-map*)
|
||||
+ CFLAGS="$CFLAGS $1"
|
||||
+ shift
|
||||
+ ;;
|
||||
-m*)
|
||||
arch="$arch $1"
|
||||
shift
|
||||
@@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz \
|
||||
file://0001-Fix-gperf-3.1-incompatibility.patch \
|
||||
file://10_utf16.patch \
|
||||
file://unknown-encoding.patch \
|
||||
file://cflags_filter.patch \
|
||||
"
|
||||
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/"
|
||||
UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$"
|
||||
|
||||
Reference in New Issue
Block a user