pkgsrc/x11/gtk/patches/patch-ag
danw 20f673d41e Fixes for Darwin: add CONFIG_SUB_OVERRIDE, don't use X shared memory
extension, and tweak the gtk-config patch so it's still syntactically
correct after RPATH_FLAG stripping
2003-10-04 18:03:26 +00:00

13 lines
415 B
Text

$NetBSD: patch-ag,v 1.4 2003/10/04 18:03:26 danw Exp $
--- gdk/gdkimage.c.orig Tue Sep 16 05:41:17 2003
+++ gdk/gdkimage.c Tue Sep 16 05:41:23 2003
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <sys/types.h>
-#if defined (HAVE_IPC_H) && defined (HAVE_SHM_H) && defined (HAVE_XSHM_H)
+#if defined (HAVE_IPC_H) && defined (HAVE_SHM_H) && defined (HAVE_XSHM_H) && !defined (__APPLE__)
#define USE_SHM
#endif