diff options
author | Andreas Müller <schnitzeltony@gmx.de> | 2012-01-03 15:39:37 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-05 10:14:25 +0100 |
commit | f3e086bae4442bf0941ad3f11b7c46ccabade30d (patch) | |
tree | 67b3b947a59bc837928474f0992d8b8f363c28b0 /meta-xfce | |
parent | 93229b3e604f8e050f467afd877ac0e873f9c285 (diff) | |
download | meta-openembedded-f3e086bae4442bf0941ad3f11b7c46ccabade30d.tar.gz |
ristretto: fix build error by including locale.h
build tested / error was:
| util.c: In function 'rstto_launch_help':
| util.c:36:35: error: 'LC_MESSAGES' undeclared (first use in this function)
| util.c:36:35: note: each undeclared identifier is reported only once for each function it appears in
| make[3]: *** [ristretto-util.o] Error 1
| make[3]: Leaving directory `/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/ristretto-0.3.0-r0/ristretto-0.3.0/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/ristretto-0.3.0-r0/ristretto-0.3.0/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/Superandy/tmp/oe-core-eglibc/work/armv7a-angstrom-linux-gnueabi/ristretto-0.3.0-r0/ristretto-0.3.0'
| make: *** [all] Error 2
| + die 'oe_runmake failed'
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-xfce')
-rw-r--r-- | meta-xfce/recipes-apps/ristretto/files/add-locale_h.patch | 13 | ||||
-rw-r--r-- | meta-xfce/recipes-apps/ristretto/ristretto_0.3.0.bb | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/meta-xfce/recipes-apps/ristretto/files/add-locale_h.patch b/meta-xfce/recipes-apps/ristretto/files/add-locale_h.patch new file mode 100644 index 000000000..a149500ea --- /dev/null +++ b/meta-xfce/recipes-apps/ristretto/files/add-locale_h.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Upstream-Status: Applied in git repo | ||
2 | --- | ||
3 | --- a/src/util.c.old 2011-11-05 22:12:00.000000000 +0100 | ||
4 | +++ b/src/util.c 2012-01-03 16:18:21.435234961 +0100 | ||
5 | @@ -18,7 +18,7 @@ | ||
6 | |||
7 | #include <config.h> | ||
8 | #include <glib.h> | ||
9 | - | ||
10 | +#include <locale.h> | ||
11 | #include <exo/exo.h> | ||
12 | |||
13 | |||
diff --git a/meta-xfce/recipes-apps/ristretto/ristretto_0.3.0.bb b/meta-xfce/recipes-apps/ristretto/ristretto_0.3.0.bb index 9a5d0773f..4fb28f0ae 100644 --- a/meta-xfce/recipes-apps/ristretto/ristretto_0.3.0.bb +++ b/meta-xfce/recipes-apps/ristretto/ristretto_0.3.0.bb | |||
@@ -4,9 +4,12 @@ SECTION = "x11/application" | |||
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
6 | DEPENDS = "libexif gtk+ dbus-glib libxfce4ui libxfce4util xfconf cairo" | 6 | DEPENDS = "libexif gtk+ dbus-glib libxfce4ui libxfce4util xfconf cairo" |
7 | PR = "r1" | ||
7 | 8 | ||
8 | inherit xfce-app | 9 | inherit xfce-app |
9 | 10 | ||
11 | SRC_URI += "file://add-locale_h.patch" | ||
12 | |||
10 | RRECOMMENDS_${PN} += "tumbler" | 13 | RRECOMMENDS_${PN} += "tumbler" |
11 | 14 | ||
12 | SRC_URI[md5sum] = "124c4e98f837e35c728b0ff1d9078b1a" | 15 | SRC_URI[md5sum] = "124c4e98f837e35c728b0ff1d9078b1a" |