summaryrefslogtreecommitdiff
path: root/multimedia/farsight2/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/farsight2/patches/patch-ad')
-rw-r--r--multimedia/farsight2/patches/patch-ad15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/farsight2/patches/patch-ad b/multimedia/farsight2/patches/patch-ad
new file mode 100644
index 00000000000..8fb0e87e6a7
--- /dev/null
+++ b/multimedia/farsight2/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1.1.1 2009/08/17 21:13:04 wiz Exp $
+
+https://bugs.freedesktop.org/show_bug.cgi?id=23378
+
+--- common-modified/glib-gen.mak.orig 2009-07-28 17:38:43.000000000 +0000
++++ common-modified/glib-gen.mak
+@@ -26,7 +26,7 @@ enum_headers=$(foreach h,$(glib_enum_hea
+ $^ > $@
+
+ %-enum-types.c: $(glib_enum_headers) Makefile
+- @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
++ @if test "x$(glib_enum_headers)" = "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi
+ glib-mkenums \
+ --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \
+ --fprod "\n/* enumerations from \"@filename@\" */" \