From 5599dae13c2239c6a505c70f26c88fac1d99b6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 19 Jan 2020 16:12:33 +0100 Subject: [PATCH] libunique1: fix build w/ glib >= 2.58 --- .../libunique1/patches/glib-max-allowed-2_56.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/libunique1/patches/glib-max-allowed-2_56.patch diff --git a/srcpkgs/libunique1/patches/glib-max-allowed-2_56.patch b/srcpkgs/libunique1/patches/glib-max-allowed-2_56.patch new file mode 100644 index 0000000000..e0da846253 --- /dev/null +++ b/srcpkgs/libunique1/patches/glib-max-allowed-2_56.patch @@ -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 + #include + ++/* 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 + #include +