- Fix build after glib update

- Explicitly depend on qt4 libraries (though no need for PORTREVISION bump,
  kdelibs4 already depends on lots of qt4 stuff)
This commit is contained in:
Max Brazhnikov 2013-03-28 12:58:40 +00:00
parent 8f0c8ba97b
commit 818fca6d2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315463
2 changed files with 9 additions and 3 deletions

View File

@ -13,7 +13,7 @@ COMMENT= GTK+ 2.x theme engine allowing to use Qt/KDE styles
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GNOME= gtk20
USE_QT4= moc_build rcc_build uic_build qmake_build
USE_QT4= corelib gui moc_build rcc_build uic_build qmake_build
USES= cmake
USE_KDE4= kdelibs kdeprefix automoc4
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -1,6 +1,6 @@
--- ./src/qt_theme_draw.c.orig 2008-03-11 01:30:19.000000000 +0000
+++ ./src/qt_theme_draw.c 2012-10-06 10:09:43.994767020 +0000
@@ -19,6 +19,7 @@
+++ ./src/qt_theme_draw.c 2013-03-28 12:45:32.271244758 +0000
@@ -19,11 +19,12 @@
***************************************************************************/
#include <math.h>
@ -8,3 +8,9 @@
#include <string.h>
#include <gtk/gtkprogressbar.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
-#include <glib/glist.h>
+#include <glib.h>
#ifdef HAVE_BONOBO
#include <libbonobo.h>