app-i18n/tomoe: update patches
authorAkinori Hattori <hattya@gentoo.org>
Sat, 5 Aug 2017 14:35:36 +0000 (23:35 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Sat, 5 Aug 2017 14:47:31 +0000 (23:47 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-i18n/tomoe/files/tomoe-0.6.0-ldflags.patch [deleted file]
app-i18n/tomoe/files/tomoe-export-symbols.patch [moved from app-i18n/tomoe/files/tomoe-0.6.0-export-symbols.patch with 100% similarity]
app-i18n/tomoe/files/tomoe-gentoo.patch [new file with mode: 0644]
app-i18n/tomoe/files/tomoe-glib-2.32.patch [moved from app-i18n/tomoe/files/tomoe-0.6.0-glib232.patch with 73% similarity]
app-i18n/tomoe/tomoe-0.6.0-r2.ebuild

diff --git a/app-i18n/tomoe/files/tomoe-0.6.0-ldflags.patch b/app-i18n/tomoe/files/tomoe-0.6.0-ldflags.patch
deleted file mode 100644 (file)
index 97ddc88..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-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)
diff --git a/app-i18n/tomoe/files/tomoe-gentoo.patch b/app-i18n/tomoe/files/tomoe-gentoo.patch
new file mode 100644 (file)
index 0000000..92ed311
--- /dev/null
@@ -0,0 +1,22 @@
+--- 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)
similarity index 73%
rename from app-i18n/tomoe/files/tomoe-0.6.0-glib232.patch
rename to app-i18n/tomoe/files/tomoe-glib-2.32.patch
index cf073d4d2cfa1127ca44a2893c92a529793445d2..eb05ab8b8d5024f8bbce401228df8f4877a3b99d 100644 (file)
@@ -1,5 +1,3 @@
-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 @@
@@ -11,8 +9,6 @@ index 6cae16b..1fb1490 100644
  
  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 @@
@@ -24,8 +20,6 @@ index 275c96c..7afca67 100644
  #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 @@
index ef2be9338d2df361e1cdaec438ca7370f66876a3..94c107141107cd2564905d57121f6f4d853ee93f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -48,9 +48,9 @@ pkg_setup() {
 
 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