diff --git a/srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch b/srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch new file mode 100644 index 00000000000..5c19f80e6a3 --- /dev/null +++ b/srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch @@ -0,0 +1,11 @@ +--- libunique-1.1.6/unique/uniqueapp.c 2009-11-01 19:33:13.000000000 +0100 ++++ libunique-1.1.6/unique/uniqueapp.c 2017-06-15 17:30:10.775354836 +0200 +@@ -176,7 +176,7 @@ + { + gchar *id; + +- if (startup_id && startup_id != '\0') ++ if (startup_id && *startup_id != '\0') + id = g_strdup (startup_id); + else + {