Fix a warning.

This commit is contained in:
ajacoutot 2011-05-25 07:00:07 +00:00
parent 06374e4594
commit d65fa13253
2 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2011/05/17 14:11:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2011/05/25 07:00:07 ajacoutot Exp $
SHARED_ONLY= Yes
@ -12,7 +12,7 @@ COMMENT= GNOME web browser based on webkit
GNOME_PROJECT= epiphany
GNOME_VERSION= 3.0.3
REVISION= 2
REVISION= 3
M= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
SUBST_VARS= M

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-lib_egg_eggsmclient-xsmp_c,v 1.1 2011/05/25 07:00:08 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=651030
--- lib/egg/eggsmclient-xsmp.c.orig Wed May 25 08:45:26 2011
+++ lib/egg/eggsmclient-xsmp.c Wed May 25 08:45:09 2011
@@ -35,6 +35,8 @@
#include <unistd.h>
#include <X11/SM/SMlib.h>
+#include <gdk/gdkx.h>
+
#define EGG_TYPE_SM_CLIENT_XSMP (egg_sm_client_xsmp_get_type ())
#define EGG_SM_CLIENT_XSMP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMP))
#define EGG_SM_CLIENT_XSMP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_SM_CLIENT_XSMP, EggSMClientXSMPClass))