Subject: pkg/25209: x11/gtk2-theme-switch doesn't build with gtk+-2.4
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <froz@icix.org>
List: pkgsrc-bugs
Date: 04/17/2004 12:19:54
>Number:         25209
>Category:       pkg
>Synopsis:       x11/gtk2-theme-switch doesn't build with gtk+-2.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 17 12:20:04 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Marques
>Release:        NetBSD 2.0C
>Organization:
>Environment:
NetBSD xxx.icix.org 2.0C NetBSD 2.0C (XXX) #2: Sat Apr 17 13:15:45 WEST 2004  xxx@xxx.icix.org:/usr/obj/sys/arch/i386/compile/XXX i386

>Description:
Fix build after upgrade to gtk+-2.4.
>How-To-Repeat:
cd /usr/pkgsrc/x11/gtk2-theme-switch
make install
>Fix:
Add the following patch-aa:

$NetBSD$
 
--- Makefile.orig       2003-06-11 06:16:36.000000000 +0100
+++ Makefile
@@ -2,7 +2,6 @@ GCC = cc
 PREFIX=/usr/local
 CFLAGS = -O2 -Wall $(shell pkg-config --cflags gtk+-2.0)
 LIBS = $(shell pkg-config --libs gtk+-2.0)
-CFLAGS += -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED
  
 VERSION = 2.0.0rc2
 all: switch

>Release-Note:
>Audit-Trail:
>Unformatted: