summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch28
-rw-r--r--meta-oe/recipes-navigation/orrery/orrery_2.7.bb4
2 files changed, 31 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch b/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch
new file mode 100644
index 0000000000..829ace09b5
--- /dev/null
+++ b/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch
@@ -0,0 +1,28 @@
1From e13f15205425c67e1101031a33107fa9cd2d65f9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 26 May 2023 10:32:53 -0700
4Subject: [PATCH] Append cflags instead of overriding in Makefile.am
5
6Fixes
7WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths]
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 Makefile.am | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Makefile.am b/Makefile.am
17index b64449f..23637b3 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -1,4 +1,4 @@
21-CFLAGS = -g -O3 -Wall
22+CFLAGS += -g -O3 -Wall
23
24 bin_PROGRAMS = orrery
25 orrery_SOURCES = planetInfo.c orrery.c orrery.h phaseConstants.h
26--
272.40.1
28
diff --git a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
index 100ecb1331..96a7018de2 100644
--- a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
+++ b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
@@ -13,6 +13,7 @@ SRC_URI = "http://projects.openmoko.org/frs/download.php/923/orrery_2.7_clean.ta
13 file://orrery.png \ 13 file://orrery.png \
14 file://use.GdkPixbuf.patch \ 14 file://use.GdkPixbuf.patch \
15 file://0001-orrery-Fix-sprintf-format.patch \ 15 file://0001-orrery-Fix-sprintf-format.patch \
16 file://0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch \
16 " 17 "
17 18
18SRC_URI[md5sum] = "bd62a33e7554ee1030313dfcdefcda8b" 19SRC_URI[md5sum] = "bd62a33e7554ee1030313dfcdefcda8b"
@@ -22,7 +23,7 @@ S = "${WORKDIR}/${BPN}"
22 23
23do_configure:prepend() { 24do_configure:prepend() {
24 # fix DSO issue with binutils-2.22 25 # fix DSO issue with binutils-2.22
25 sed -i 's/ -lrt/ -lrt -lm/g' ${S}/Makefile.am 26 sed -i 's/ -lrt$/ -lrt -lm/g' ${S}/Makefile.am
26} 27}
27do_install:append() { 28do_install:append() {
28 install -d ${D}${datadir}/orrery 29 install -d ${D}${datadir}/orrery
@@ -30,6 +31,7 @@ do_install:append() {
30 chown -R root:root ${D}${datadir}/orrery 31 chown -R root:root ${D}${datadir}/orrery
31 install -d ${D}${datadir}/icons 32 install -d ${D}${datadir}/icons
32 install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons 33 install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons
34 rm -rf ${D}${datadir}/orrery/Makefile*
33} 35}
34 36
35FILES:${PN} += "${datadir}/icons/orrery.png" 37FILES:${PN} += "${datadir}/icons/orrery.png"