pkgsrc/multimedia/mpeg4ip/patches/patch-ae
hira 35d70216a0 Don't define glib's types (gchar, guchar, etc.) if glib.h is already
included.  This fixes build of audio/gtkpod with `mpeg4ip' option.
Idea from audio/faad2.  Bump PKGREVISION.
2006-06-08 09:17:01 +00:00

14 lines
388 B
Text

$NetBSD: patch-ae,v 1.1 2006/06/08 09:17:02 hira Exp $
--- include/mpeg4ip.h.orig 2006-06-08 12:22:14.000000000 +0900
+++ include/mpeg4ip.h 2006-06-08 12:23:04.000000000 +0900
@@ -233,7 +233,8 @@
#define ADV_SPACE(a) {while (isspace(*(a)) && (*(a) != '\0'))(a)++;}
-#ifndef HAVE_GTK
+#ifndef __G_LIB_H__
+/* #ifndef HAVE_GTK */
typedef char gchar;
typedef unsigned char guchar;