1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build and runtime with GNOME 2.14.

Reported by:	pointyhat via kris
This commit is contained in:
Jean-Yves Lefort 2006-05-01 18:07:57 +00:00
parent effdfbd005
commit ed7929c91e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161114
3 changed files with 26 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gnome-translate
PORTVERSION= 0.99
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= libtranslate
@ -24,7 +24,7 @@ USE_GNOME= gnomehack gnomeprefix eel2 intlhack
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib -Wl,-export-dynamic"
OPTIONS= LANGUAGE_DETECTION "language detection" on

View File

@ -0,0 +1,12 @@
--- src/gt-app.c.orig Fri Jan 28 13:31:53 2005
+++ src/gt-app.c Mon May 1 19:58:44 2006
@@ -1168,8 +1168,7 @@
GTK_MESSAGE_WARNING,
GTK_BUTTONS_YES_NO,
_("Overwrite file?"),
- secondary,
- NULL);
+ secondary);
g_free(secondary);
gtk_dialog_set_default_response(GTK_DIALOG(confirmation_dialog), GTK_RESPONSE_NO); /* safe default */

View File

@ -0,0 +1,12 @@
--- src/gt-util.c.orig Mon May 1 20:00:48 2006
+++ src/gt-util.c Mon May 1 20:01:35 2006
@@ -53,8 +53,7 @@
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
primary,
- secondary,
- NULL);
+ secondary);
if (blocking)
{