diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2007-03-08 11:28:28 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2007-03-08 11:28:28 +0000 |
commit | eb47b38d47113a5e9aa61a80cc02ade8d3269b63 (patch) | |
tree | 1af7ed7d6ea1468ebe4be473564685fca950d90e | |
parent | 74c158e473e5e78ad24861bb8fbde6fccccc4a84 (diff) | |
parent | 7db8984b275181a30ec7fcc47e2b78dbfe1ca698 (diff) |
merge of '20e69e89a02bb1c12fc542cba8d841fc06509088'
and 'f452cb1c5095e423f7603c4bce5c63518541aeb0'
-rw-r--r-- | packages/gpe-scap/gpe-scap-1.2/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch | 22 | ||||
-rw-r--r-- | packages/gpe-scap/gpe-scap_1.2.bb | 3 |
3 files changed, 24 insertions, 1 deletions
diff --git a/packages/gpe-scap/gpe-scap-1.2/.mtn2git_empty b/packages/gpe-scap/gpe-scap-1.2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpe-scap/gpe-scap-1.2/.mtn2git_empty diff --git a/packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch b/packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch new file mode 100644 index 0000000000..57e611d85e --- /dev/null +++ b/packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch @@ -0,0 +1,22 @@ +Index: src/scr-shot-common.c +=================================================================== +--- src/scr-shot-common.c (.../base/gpe-scap/src/scr-shot-common.c) (Revision 8890) ++++ src/scr-shot-common.c (.../extra/gpe-scap/src/scr-shot-common.c) (Arbeitskopie) +@@ -37,7 +37,7 @@ + gchar * + get_device_model (void) + { +- gchar *result; ++ gchar *result = NULL; + struct utsname uinfo; + gchar **strv; + gint i = 0; +@@ -62,6 +62,8 @@ + } + g_strfreev (strv); + } ++ if (result) ++ return result; + #ifdef __arm__ + result = g_strdup_printf ("%s,%s",_("ARM"), uinfo.machine); + #endif diff --git a/packages/gpe-scap/gpe-scap_1.2.bb b/packages/gpe-scap/gpe-scap_1.2.bb index d53f041bbe..1fc8f9a57a 100644 --- a/packages/gpe-scap/gpe-scap_1.2.bb +++ b/packages/gpe-scap/gpe-scap_1.2.bb @@ -2,7 +2,7 @@ DESCRIPTION = "GPE screenshot application" LICENSE = "GPL" PRIORITY = "optional" SECTION = "gpe" -PR = "r0" +PR = "r1" RREPLACES = "gpe-screenshot" @@ -12,3 +12,4 @@ GPE_TARBALL_SUFFIX = "bz2" inherit gpe autotools +SRC_URI += " file://deviceinfo.patch;patch=1;pnum=0" |