openbsd-ports/x11/gtk-chtheme/patches/patch-Makefile
2010-09-30 07:23:47 +00:00

16 lines
598 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2010/09/30 07:23:47 ajacoutot Exp $
XXX make it compile with gtk+2 2.22 (*_DISABLE_DEPRECATED)
--- Makefile.orig Thu Sep 30 08:50:42 2010
+++ Makefile Thu Sep 30 08:50:49 2010
@@ -4,7 +4,7 @@ CFLAGS := $(if $(RPM_OPT_FLAGS), $(RPM_OPT_FLAGS), $(C
LDFLAGS = $(shell pkg-config --libs gtk+-2.0)
CFLAGS += -Wall
-CFLAGS += $(shell pkg-config --cflags gtk+-2.0) -DGTK_DISABLE_BROKEN -DGTK_DISABLE_DEPRECATED
+CFLAGS += $(shell pkg-config --cflags gtk+-2.0) -DGTK_DISABLE_BROKEN
CFLAGS += -DPROJNAME='"$(PROJNAME)"' -DVERSION='"$(VERSION)"'
CPPFLAGS =
CXXFLAGS =