1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix build on FreeBSD 10

- Fix build with Clang
This commit is contained in:
Rene Ladan 2011-11-05 00:12:39 +00:00
parent 7bd53bb5b7
commit 1a5125ce56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285058
2 changed files with 13 additions and 0 deletions

View File

@ -30,6 +30,8 @@ USE_XORG= xtst
INSTALLS_ICONS= yes
WITH_FBSD10_FIX= yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_UNIQUE)

View File

@ -0,0 +1,11 @@
--- panel-plugin/collector.c.orig 2011-10-20 14:42:39.000000000 +0200
+++ panel-plugin/collector.c 2011-11-05 00:16:40.000000000 +0100
@@ -154,7 +154,7 @@
gchar *text;
static gchar *prev_text = NULL;
- g_return_if_fail (GTK_IS_CLIPBOARD (collector->priv->default_clipboard) && GTK_IS_CLIPBOARD (collector->priv->primary_clipboard));
+ g_return_val_if_fail (GTK_IS_CLIPBOARD (collector->priv->default_clipboard) && GTK_IS_CLIPBOARD (collector->priv->primary_clipboard), FALSE);
/* Postpone until the selection is done */
gdk_window_get_pointer (NULL, NULL, NULL, &state);