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 +