Add guile16-gtk-0.5. This is based on the guile-gtk package with the
[pkgsrc.git] / devel / guile16-gtk / patches / patch-aa
1 $NetBSD: patch-aa,v 1.7 2004/12/03 15:28:33 wiz Exp $
2
3 --- Makefile.in.orig    Wed Jul 26 19:24:58 2000
4 +++ Makefile.in
5 @@ -641,3 +641,20 @@ dist-hook:
6  # Tell versions [3.59,3.63) of GNU make to not export all variables.
7  # Otherwise a system limit (for SysV at least) may be exceeded.
8  .NOEXPORT:
9 +
10 +# problems with optimization. triggers internal compiler errors
11 +
12 +COMPILE_NOOPT=${COMPILE:C/-O[0-9]*//g}
13 +LTCOMPILE_NOOPT=${LTCOMPILE:C/-O[0-9]*//g}
14 +
15 +.if (${MACHINE_ARCH} == "alpha")
16 +
17 +gdk-glue.o: gdk-glue.c
18 +       $(COMPILE_NOOPT) -c gdk-glue.c
19 +
20 +gdk-glue.lo: gdk-glue.c
21 +       @echo "Compiling without optimization to work around gcc -O* compiler bug"
22 +       $(LTCOMPILE_NOOPT) -c gdk-glue.c
23 +
24 +.endif
25 +