aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2007-12-28 00:15:07 +0800
committernobutaka <nobutaka@FreeBSD.org>2007-12-28 00:15:07 +0800
commit59afe29d58a8318afed9955162b765749acb49f9 (patch)
treea994a64dc9c1afff4271d21cbcfa977aa2a95814 /japanese
parent1c7139ada52b5d7aff31a7866597cb087cfd3393 (diff)
downloadfreebsd-ports-gnome-59afe29d58a8318afed9955162b765749acb49f9.tar.gz
freebsd-ports-gnome-59afe29d58a8318afed9955162b765749acb49f9.tar.zst
freebsd-ports-gnome-59afe29d58a8318afed9955162b765749acb49f9.zip
Fix build with gcc 4.2.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ebview/Makefile4
-rw-r--r--japanese/ebview/files/patch-src_eb.c10
-rw-r--r--japanese/ebview/files/patch-src_websearch.c10
3 files changed, 20 insertions, 4 deletions
diff --git a/japanese/ebview/Makefile b/japanese/ebview/Makefile
index 2a01cabd8b41..8d2eec087e4a 100644
--- a/japanese/ebview/Makefile
+++ b/japanese/ebview/Makefile
@@ -33,10 +33,6 @@ LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
-
pre-build:
.for file in src/dictheading.c
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
diff --git a/japanese/ebview/files/patch-src_eb.c b/japanese/ebview/files/patch-src_eb.c
new file mode 100644
index 000000000000..fc598b12a084
--- /dev/null
+++ b/japanese/ebview/files/patch-src_eb.c
@@ -0,0 +1,10 @@
+--- src/eb.c.orig 2007-12-28 00:09:02.000000000 +0900
++++ src/eb.c 2007-12-28 00:22:34.000000000 +0900
+@@ -48,7 +48,6 @@
+ static GtkWidget *label_match;
+ static GtkWidget *progress;
+ static pthread_t tid;
+-static gint tag_timeout;
+ static gint thread_running = 0;
+ static gint hit_count=0;
+ static gfloat search_progress;
diff --git a/japanese/ebview/files/patch-src_websearch.c b/japanese/ebview/files/patch-src_websearch.c
new file mode 100644
index 000000000000..d894a42e2889
--- /dev/null
+++ b/japanese/ebview/files/patch-src_websearch.c
@@ -0,0 +1,10 @@
+--- src/websearch.c.orig 2007-12-28 00:10:21.000000000 +0900
++++ src/websearch.c 2007-12-28 00:28:26.000000000 +0900
+@@ -33,7 +33,6 @@
+ void web_search();
+ void split_word(gchar *word, gchar **keywords);
+
+-static GtkWidget *web_tree;
+ static GtkCTreeNode *current_node;
+ static GtkItemFactory *tree_item_factory;
+ static GtkItemFactoryEntry tree_menu_items[] = {