From 0114f6125ec8802073d5660d023b57c5f32c2bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 15 Jun 2017 17:34:15 +0200 Subject: [PATCH] libunique1: fix gcc7 build --- srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch 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 + {