#! /bin/sh /usr/share/dpatch/dpatch-run ## 11_remove_DEPRECATED_flags_for_GTK_2_4.dpatch by Sebastien Bacher ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: * Makefile (CFLAGS): Remove the DEPRECATED flags to build fine with ## DP: GTK+2.4. ## DP: ## DP: @DPATCH@ diff -urNad gperiodic~/Makefile gperiodic/Makefile --- gperiodic~/Makefile 2007-06-13 22:21:44.000000000 +0200 +++ gperiodic/Makefile 2007-07-01 00:11:13.000000000 +0200 @@ -1,5 +1,5 @@ CC := gcc -CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED +CFLAGS := `pkg-config --cflags gtk+-2.0` -I. LIBS :=`pkg-config --libs gtk+-2.0` bindir ?= /usr/bin datadir ?= /usr/share