Group :: Sciences/Chemistry
RPM: gperiodic
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 11_remove_DEPRECATED_flags_for_GTK_2_4.dpatch
Download
Download
#! /bin/sh /usr/share/dpatch/dpatch-run
## 11_remove_DEPRECATED_flags_for_GTK_2_4.dpatch by Sebastien Bacher <seb128@debian.org>
##
## 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: <URL:http://packages.debian.org/changelogs/pool/main/g/gperiodic/current/changelog#versionversion2.0.7-4>
@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