libunique1: fix gcc7 build
This commit is contained in:
parent
1265dfb85f
commit
0114f6125e
1 changed files with 11 additions and 0 deletions
11
srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch
Normal file
11
srcpkgs/libunique1/patches/gcc7-fix-char_ptr.patch
Normal file
|
@ -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
|
||||
{
|
Loading…
Reference in a new issue