diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-10 13:58:49 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-10 13:58:49 +0000 |
commit | e2152105462938dd24049d166836f0875257feab (patch) | |
tree | fba3a1364c71bc78b4ede05a5769e59ce9d1474c /packages/gpe-scap/gpe-scap-1.2/deviceinfo.patch | |
parent | ff499943f6153d0776440a4d7d1222d03cfa857f (diff) | |
parent | 6f9a198964d8d694926f780076319591b47afdbd (diff) |
merge of '87f4964e99b725f1fc7dfcdb6feb62a3b3b0cd12'
and '9080aeaf22159dec40b83350bca564db5767774f'
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 |