Fix build with gtk+3>=3.8.0.

Regen WANTLIB.
This commit is contained in:
ajacoutot 2013-03-27 18:03:33 +00:00
parent 9e30f719ed
commit 59da45c3b9
2 changed files with 24 additions and 10 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.45 2013/03/21 08:46:33 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.46 2013/03/27 18:03:33 ajacoutot Exp $
COMMENT= GTK-based scientific calculator COMMENT= GTK-based scientific calculator
DISTNAME= galculator-2.1 DISTNAME= galculator-2.1
CATEGORIES= math CATEGORIES= math
HOMEPAGE= http://galculator.sourceforge.net/ HOMEPAGE= http://galculator.sourceforge.net/
REVISION= 0
MAINTAINER= Christian Weisgerber <naddy@openbsd.org> MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
@ -14,15 +15,14 @@ PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=galculator/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=galculator/}
EXTRACT_SUFX= .tar.bz2 EXTRACT_SUFX= .tar.bz2
WANTLIB= GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \ WANTLIB= ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi \
Xfixes Xi Xinerama Xrandr Xrender Xxf86vm \ Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi c \
atk-1.0 atk-bridge-2.0 atspi c cairo cairo-gobject dbus-1 \ cairo cairo-gobject dbus-1 expat ffi fontconfig freetype \
drm expat ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0 \ gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 \
gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 gtk-3 \ gobject-2.0 graphite2 gthread-2.0 gtk-3 harfbuzz icudata \
harfbuzz icudata icule icuuc m \ icule icuuc m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre \
pango-1.0 z pangocairo-1.0 pcre png \ pixman-1 png pthread pthread-stubs xcb xcb-render \
pangoft2-1.0 pixman-1 pthread pthread-stubs stdc++ xcb \ xcb-shm z
xcb-render xcb-shm
MODULES= devel/gettext \ MODULES= devel/gettext \
textproc/intltool textproc/intltool

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2013/03/27 18:03:33 ajacoutot Exp $
Remove -DGTK_DISABLE_DEPRECATED: fix build with gtk+3>=3.8.0 (XXX check on next update)
--- src/Makefile.in.orig Wed Mar 27 17:56:49 2013
+++ src/Makefile.in Wed Mar 27 17:56:53 2013
@@ -265,7 +265,6 @@ AM_CPPFLAGS = \
-DPACKAGE_UI_DIR=\""$(datadir)/galculator/ui"\" \
-DPACKAGE_PIXMAPS_DIR=\""$(datadir)/pixmaps"\" \
-DGDK_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
-DGSEAL_ENABLE
galculator_SOURCES = \