diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2007-03-08 11:20:44 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2007-03-08 11:20:44 +0000 |
commit | 8da86c82cf296fe0df95523f22b5ba36d36691bf (patch) | |
tree | e52d99c6d215767c654153c4b19f73c3ad8a98ac /packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch | |
parent | 6566744b4b5b65be7782dafdd012657927d31a51 (diff) |
gpe-scap: Add patch to fix device information on ARM devices.
Diffstat (limited to 'packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch')
-rw-r--r-- | packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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 |