SHA256
1
0
forked from pool/gbdfed

- fixed build with new gtk (2.22 and above)

OBS-URL: https://build.opensuse.org/package/show/M17N/gbdfed?expand=0&rev=2
This commit is contained in:
Petr Gajdos 2011-10-11 08:24:54 +00:00 committed by Git OBS Bridge
parent 16eb6f60f0
commit 14e891c362
3 changed files with 23 additions and 0 deletions

16
gbdfed-1.6-new-gtk.patch Normal file
View File

@ -0,0 +1,16 @@
http://sofia.nmsu.edu/~mleisher/Software/gbdfed/ see COMPILATION ALERT
Index: gbdfed-1.6/Makefile.in
===================================================================
--- gbdfed-1.6.orig/Makefile.in
+++ gbdfed-1.6/Makefile.in
@@ -27,9 +27,7 @@ MKINSTALLDIRS = ./mkinstalldirs
CC = @CC@
CFLAGS = @XX_CFLAGS@ @CFLAGS@
-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED
+DEFINES = @DEFINES@
SRCS = bdf.c \
bdfcons.c \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 11 08:24:12 UTC 2011 - pgajdos@suse.com
- fixed build with new gtk (2.22 and above)
-------------------------------------------------------------------
Tue Apr 20 16:14:58 CEST 2010 - pgajdos@suse.cz

View File

@ -17,6 +17,7 @@ Source4: gbdfed32x32.png
Source5: gbdfed48x48.png
Patch0: %{name}-%{version}_array-index.patch
Patch1: %{name}-%{version}_64bit.patch
Patch2: %{name}-%{version}-new-gtk.patch
BuildRequires: freetype2-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-2.0)
@ -37,6 +38,7 @@ fonts.
install -m 644 %{SOURCE2} .
%patch0
%patch1
%patch2 -p1
%build
%configure