app-i18n/uim: update patches
authorAkinori Hattori <hattya@gentoo.org>
Mon, 28 May 2018 14:10:57 +0000 (23:10 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Mon, 28 May 2018 14:55:56 +0000 (23:55 +0900)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-i18n/uim/files/uim-1.6.0-gentoo.patch [deleted file]
app-i18n/uim/files/uim-1.8.6-gentoo.patch [new file with mode: 0644]
app-i18n/uim/files/uim-zh-TW.patch [moved from app-i18n/uim/files/uim-1.5.4-zhTW.patch with 79% similarity]
app-i18n/uim/uim-1.8.6-r1.ebuild
app-i18n/uim/uim-1.8.6-r2.ebuild

diff --git a/app-i18n/uim/files/uim-1.6.0-gentoo.patch b/app-i18n/uim/files/uim-1.6.0-gentoo.patch
deleted file mode 100644 (file)
index 206a1cd..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur uim-1.6.0.orig/configure.ac uim-1.6.0/configure.ac
---- uim-1.6.0.orig/configure.ac        2010-08-02 09:30:14.000000000 +0900
-+++ uim-1.6.0/configure.ac     2010-08-14 08:30:34.000000000 +0900
-@@ -1696,6 +1696,7 @@
-   QT_CONFIG_OPTS="release"
- fi
-+QT_CONFIG_OPTS="$QT_CONFIG_OPTS nostrip"
- AC_ARG_ENABLE(warnings-into-error,
-     AC_HELP_STRING([--enable-warnings-into-error],
diff --git a/app-i18n/uim/files/uim-1.8.6-gentoo.patch b/app-i18n/uim/files/uim-1.8.6-gentoo.patch
new file mode 100644 (file)
index 0000000..0feee5a
--- /dev/null
@@ -0,0 +1,28 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -36,6 +36,7 @@
+ AC_PATH_PROGS(SHA1, sha1 sha1sum)
+ AC_PATH_PROGS(SED, sed gsed)
+ AX_PATH_QMAKE4
++PKG_PROG_PKG_CONFIG
+ AM_MAINTAINER_MODE
+@@ -1792,7 +1793,7 @@
+   fi
+   AX_LANG_WNOERROR  # end AC_LANG_WERROR
+-  QT_CONFIG_OPTS="debug"
++  QT_CONFIG_OPTS="debug nostrip"
+ else
+   CFLAGS="$CFLAGS -DNDEBUG"
+   CXXFLAGS="$CXXFLAGS -DNDEBUG"
+@@ -1810,7 +1811,7 @@
+   AX_CFLAGS_GCC_OPTION([-Wno-unused-variable],  [SCIM_CFLAGS])
+   AX_LANG_WNOERROR  # end AC_LANG_WERROR
+-  QT_CONFIG_OPTS="release"
++  QT_CONFIG_OPTS="release nostrip"
+ fi
+ AC_ARG_ENABLE(warnings-into-error,
similarity index 79%
rename from app-i18n/uim/files/uim-1.5.4-zhTW.patch
rename to app-i18n/uim/files/uim-zh-TW.patch
index 3836a210caa8303db91d8516bd7e1c8ac08ff563..f7385001317841e3526942edae319a2afa94ad13 100644 (file)
@@ -1,6 +1,5 @@
-diff -Naur uim-1.5.4.orig/xim/convdisp.cpp uim-1.5.4/xim/convdisp.cpp
---- uim-1.5.4.orig/xim/convdisp.cpp    2008-02-13 23:43:42.000000000 +0900
-+++ uim-1.5.4/xim/convdisp.cpp 2008-12-10 02:04:35.000000000 +0900
+--- a/xim/convdisp.cpp
++++ b/xim/convdisp.cpp
 @@ -69,7 +69,7 @@
  #endif
  
index a976c85b750b30253f714b1294d7e626cd1b10eb..8ede2635d9f0c62cd7d1e23615649440e4bea12d 100644 (file)
@@ -80,8 +80,8 @@ RDEPEND="${CDEPEND}
        )"
 
 PATCHES=(
-       "${FILESDIR}"/${PN}-1.6.0-gentoo.patch
-       "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
+       "${FILESDIR}"/${P}-gentoo.patch
+       "${FILESDIR}"/${PN}-zh-TW.patch
 )
 DOCS=( AUTHORS NEWS README RELNOTE )
 
index 35e99a234b8d5ffbe1f70044b5b47a09021644aa..f2b009491e236b10f34ba99228efdad921fe1e25 100644 (file)
@@ -83,9 +83,9 @@ RDEPEND="${CDEPEND}
        )"
 
 PATCHES=(
-       "${FILESDIR}"/${PN}-1.6.0-gentoo.patch
-       "${FILESDIR}"/${PN}-1.5.4-zhTW.patch
+       "${FILESDIR}"/${P}-gentoo.patch
        "${FILESDIR}"/${P}-libressl.patch
+       "${FILESDIR}"/${PN}-zh-TW.patch
 )
 DOCS=( AUTHORS NEWS README RELNOTE )