pkgsrc/x11/gnome-sharp/patches/patch-ab
drochner e7c46217d3 Fix lossage due to the assumption that a time_t has the same width
as a pointer, which fails at least on NetBSD-64bit <=5 and -32bit >5.
Unfortunately this assumption is deep in the code, in particular
already in gtk-sharp, so this fix isn't great because it only corrects
the translation of a C structure into C# data.
(With this fix, I can import pictures into f-spot from the filesystem.)
Many thanks to Brian de Alwis for explaining how conditionals can
be done in C#.
bump PKGREVISION
2009-09-09 15:28:04 +00:00

13 lines
501 B
Text

$NetBSD: patch-ab,v 1.1 2009/09/09 15:28:04 drochner Exp $
--- configure.orig 2009-03-03 17:09:53.000000000 +0100
+++ configure
@@ -21774,7 +21774,7 @@ fi
fi
CSDEFINES='-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 -define:GNOME_SHARP_2_20 -define:GNOME_SHARP_2_24'
-CSFLAGS="$DEBUG_FLAGS $CSDEFINES"
+CSFLAGS="$DEBUG_FLAGS $CSDEFINES $EXTRACSDEFINES"
GTK_SHARP_VERSION_CFLAGS='-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGNOME_SHARP_2_16 -DGNOME_SHARP_2_20 -DGNOME_SHARP_2_24'