From cb0f33843b84bb251649495970dcfd3a91f06213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 20 May 2017 19:30:03 +0200 Subject: [PATCH] libunique: fix gcc7 build --- srcpkgs/libunique/patches/gcc7-fix-char_ptr.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/libunique/patches/gcc7-fix-char_ptr.patch diff --git a/srcpkgs/libunique/patches/gcc7-fix-char_ptr.patch b/srcpkgs/libunique/patches/gcc7-fix-char_ptr.patch new file mode 100644 index 00000000000..5309f45b2f8 --- /dev/null +++ b/srcpkgs/libunique/patches/gcc7-fix-char_ptr.patch @@ -0,0 +1,11 @@ +--- unique/uniqueapp.c 2011-06-14 14:26:26.000000000 +0200 ++++ unique/uniqueapp.c 2017-05-20 19:27:59.043332852 +0200 +@@ -175,7 +175,7 @@ + { + gchar *id; + +- if (startup_id && startup_id != '\0') ++ if (startup_id && *startup_id != '\0') + id = g_strdup (startup_id); + else + {