libunique1: fix build w/ glib >= 2.58
This commit is contained in:
parent
adf695e9f2
commit
5599dae13c
1 changed files with 12 additions and 0 deletions
12
srcpkgs/libunique1/patches/glib-max-allowed-2_56.patch
Normal file
12
srcpkgs/libunique1/patches/glib-max-allowed-2_56.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- libunique-1.16/unique/uniqueapp.c 2020-01-19 15:48:40.380617759 +0100
|
||||
+++ libunique-1.16/unique/uniqueapp.c 2020-01-19 16:02:19.196585111 +0100
|
||||
@@ -55,6 +55,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
+/* Avoid error for macros deprecated in glib-2.58 */
|
||||
+#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_56
|
||||
+#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_56
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n-lib.h>
|
||||
|
Loading…
Reference in a new issue