diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-05-02 02:07:57 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-05-02 02:07:57 +0800 |
commit | 42dd81d092bf46de9e1e94f22d0b850404b7f916 (patch) | |
tree | 8c9ea336bdc24a5ac085e7c93c2f3d25423e26c2 /textproc/gnome-translate | |
parent | 2f8dd2e8fd4acfce222001275fa3bf8adcea607c (diff) | |
download | freebsd-ports-gnome-42dd81d092bf46de9e1e94f22d0b850404b7f916.tar.gz freebsd-ports-gnome-42dd81d092bf46de9e1e94f22d0b850404b7f916.tar.zst freebsd-ports-gnome-42dd81d092bf46de9e1e94f22d0b850404b7f916.zip |
Fix build and runtime with GNOME 2.14.
Reported by: pointyhat via kris
Diffstat (limited to 'textproc/gnome-translate')
-rw-r--r-- | textproc/gnome-translate/Makefile | 4 | ||||
-rw-r--r-- | textproc/gnome-translate/files/patch-src_gt-app.c | 12 | ||||
-rw-r--r-- | textproc/gnome-translate/files/patch-src_gt-util.c | 12 |
3 files changed, 26 insertions, 2 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile index 2eeef3714d3e..925535f19e8c 100644 --- a/textproc/gnome-translate/Makefile +++ b/textproc/gnome-translate/Makefile @@ -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 diff --git a/textproc/gnome-translate/files/patch-src_gt-app.c b/textproc/gnome-translate/files/patch-src_gt-app.c new file mode 100644 index 000000000000..e58db910bec5 --- /dev/null +++ b/textproc/gnome-translate/files/patch-src_gt-app.c @@ -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 */ diff --git a/textproc/gnome-translate/files/patch-src_gt-util.c b/textproc/gnome-translate/files/patch-src_gt-util.c new file mode 100644 index 000000000000..018bc25af631 --- /dev/null +++ b/textproc/gnome-translate/files/patch-src_gt-util.c @@ -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) + { |