/[gentoo-x86]/games-arcade/xbill/files/xbill-2.1-gtk2.patch
Gentoo

Contents of /games-arcade/xbill/files/xbill-2.1-gtk2.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Dec 5 22:52:44 2007 UTC (12 years, 9 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Patched to use gtk-2. Bug #201214
(Portage version: 2.1.3.19)

1 --- configure.in.old 2007-12-05 22:37:57.000000000 +0100
2 +++ configure.in 2007-12-05 22:54:57.000000000 +0100
3 @@ -88,12 +88,11 @@
4 [ --enable-gtk build with the GTK widget set])
5
6 if test "$enable_gtk" != "no"; then
7 - AC_CHECK_PROG(GTKCONFIG, gtk-config, yes, no)
8 + PKG_CHECK_MODULES(GTK, gtk+-2.0)
9
10 - if test "X$GTKCONFIG" = X"yes"; then
11 + if test $pkg_failed = no; then
12 AC_DEFINE(USE_GTK)
13 - GTK_CFLAGS="`gtk-config --cflags`"
14 - WIDGET_LIBS="$WIDGET_LIBS `gtk-config --libs`"
15 + WIDGET_LIBS="$WIDGET_LIBS $GTK_LIBS"
16 WIDGET_OBJS="$WIDGET_OBJS gtk.o"
17 fi
18 fi

  ViewVC Help
Powered by ViewVC 1.1.20