Build fixes for new glib2.

This commit is contained in:
dholland 2012-05-08 02:48:25 +00:00
parent 96af15781a
commit bc5876b000
3 changed files with 30 additions and 1 deletions

View file

@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.20 2010/11/28 13:23:06 drochner Exp $
$NetBSD: distinfo,v 1.21 2012/05/08 02:48:25 dholland Exp $
SHA1 (deskbar-applet-2.32.0.tar.bz2) = 8bc918fe59c63f600b79288787dc48f2e8d452fa
RMD160 (deskbar-applet-2.32.0.tar.bz2) = 9359f23b353c5ce80aad8a07b298b8deafe94e5f
Size (deskbar-applet-2.32.0.tar.bz2) = 1068070 bytes
SHA1 (patch-deskbar_handlers_evolution_evolution_c) = b1bbf7c8745ec5be5908bf4a336b0e49500bb06f
SHA1 (patch-deskbar_handlers_evolution_evolution_h) = a1fd8255e394156a5ed511f9688fb8b35427c8b2

View file

@ -0,0 +1,12 @@
$NetBSD: patch-deskbar_handlers_evolution_evolution_c,v 1.1 2012/05/08 02:48:26 dholland Exp $
Fix build with latest glib2.
--- deskbar/handlers/evolution/evolution.c~ 2010-09-27 13:25:25.000000000 +0000
+++ deskbar/handlers/evolution/evolution.c
@@ -1,5 +1,4 @@
#include <glib.h>
-#include <glib/gstring.h>
#include <libebook/e-book.h>
#include <pango/pango.h>
#include <string.h>

View file

@ -0,0 +1,15 @@
$NetBSD: patch-deskbar_handlers_evolution_evolution_h,v 1.1 2012/05/08 02:48:26 dholland Exp $
Fix build with latest glib2.
--- deskbar/handlers/evolution/evolution.h~ 2010-09-27 13:25:25.000000000 +0000
+++ deskbar/handlers/evolution/evolution.h
@@ -2,7 +2,7 @@
#ifndef __DESKBAR_EVOLUTION_H__
#define __DESKBAR_EVOLUTION_H__
-#include <glib/gtypes.h>
+#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
G_BEGIN_DECLS