+++ /dev/null
-diff -Naur tomoe-0.6.0.orig/module/dict/Makefile.am tomoe-0.6.0/module/dict/Makefile.am
---- tomoe-0.6.0.orig/module/dict/Makefile.am 2007-06-18 10:35:40.000000000 +0900
-+++ tomoe-0.6.0/module/dict/Makefile.am 2011-05-26 08:47:24.279701286 +0900
-@@ -34,7 +34,7 @@
-
- LIBADD = $(TOMOE_LIBS) \
- $(top_builddir)/lib/libtomoe.la
--LDFLAGS = \
-+LDFLAGS += \
- -rpath $(dict_moduledir) -avoid-version -module \
- -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)
-
-diff -Naur tomoe-0.6.0.orig/module/recognizer/Makefile.am tomoe-0.6.0/module/recognizer/Makefile.am
---- tomoe-0.6.0.orig/module/recognizer/Makefile.am 2007-04-10 16:24:20.000000000 +0900
-+++ tomoe-0.6.0/module/recognizer/Makefile.am 2011-05-26 08:47:36.502740712 +0900
-@@ -23,7 +23,7 @@
- AM_CPPFLAGS =
- INCLUDES = $(TOMOE_CFLAGS)
-
--LDFLAGS = \
-+LDFLAGS += \
- -rpath $(recognizer_moduledir) -avoid-version -module \
- -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)
-
--- /dev/null
+--- a/module/dict/Makefile.am
++++ b/module/dict/Makefile.am
+@@ -34,7 +34,7 @@
+
+ LIBADD = $(TOMOE_LIBS) \
+ $(top_builddir)/lib/libtomoe.la
+-LDFLAGS = \
++AM_LDFLAGS = \
+ -rpath $(dict_moduledir) -avoid-version -module \
+ -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)
+
+--- a/module/recognizer/Makefile.am
++++ b/module/recognizer/Makefile.am
+@@ -23,7 +23,7 @@
+ AM_CPPFLAGS =
+ INCLUDES = $(TOMOE_CFLAGS)
+
+-LDFLAGS = \
++AM_LDFLAGS = \
+ -rpath $(recognizer_moduledir) -avoid-version -module \
+ -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)
+
-diff --git a/lib/glib-compat-key-file.h b/lib/glib-compat-key-file.h
-index 6cae16b..1fb1490 100644
--- a/lib/glib-compat-key-file.h
+++ b/lib/glib-compat-key-file.h
@@ -51,7 +51,7 @@
G_BEGIN_DECLS
-diff --git a/lib/glib-utils.h b/lib/glib-utils.h
-index 275c96c..7afca67 100644
--- a/lib/glib-utils.h
+++ b/lib/glib-utils.h
@@ -28,7 +28,7 @@
#include <glib/gi18n-lib.h>
#include "glib-compat-file-utilities.h"
#include "glib-compat-key-file.h"
-diff --git a/lib/tomoe.c b/lib/tomoe.c
-index 8578c27..4534017 100644
--- a/lib/tomoe.c
+++ b/lib/tomoe.c
@@ -26,7 +26,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
src_prepare() {
epatch \
- "${FILESDIR}/${P}-export-symbols.patch" \
- "${FILESDIR}/${P}-ldflags.patch" \
- "${FILESDIR}/${P}-glib232.patch"
+ "${FILESDIR}/${PN}-gentoo.patch" \
+ "${FILESDIR}/${PN}-export-symbols.patch" \
+ "${FILESDIR}/${PN}-glib-2.32.patch"
if ! use hyperestraier ; then
sed -i -e "s/use_est=yes/use_est=no/" configure.ac || die