app-i18n/scim-sunpinyin: update patch
authorAkinori Hattori <hattya@gentoo.org>
Thu, 9 Aug 2018 14:15:48 +0000 (23:15 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Thu, 9 Aug 2018 14:31:17 +0000 (23:31 +0900)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-i18n/scim-sunpinyin/files/scim-sunpinyin-2.0.3-force-switch.patch

index a0089ac115028ad04eb37961ca7d106b3a668800..f397f47ea24bf1d2bd6df788cee84af2e4ea4cc2 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/wrapper/scim/SConstruct b/wrapper/scim/SConstruct
-index 7739300..ef7c69b 100644
---- a/wrapper/scim/SConstruct
-+++ b/wrapper/scim/SConstruct
-@@ -3,7 +3,7 @@ import SCons.Tool.textfile
+--- a/SConstruct
++++ b/SConstruct
+@@ -3,7 +3,7 @@
  
  locales = []
  
@@ -11,7 +9,7 @@ index 7739300..ef7c69b 100644
  version = '2.0.3'
  
  AddOption('--prefix', dest='prefix', metavar='DIR',
-@@ -51,9 +51,6 @@ if GetOption('datadir') is not None:
+@@ -51,9 +51,6 @@
  
  opts.Save('configure.conf', env)
  
@@ -21,7 +19,7 @@ index 7739300..ef7c69b 100644
  envvar = [('CC', 'CC'),
            ('CXX', 'CXX'),
            ('CFLAGS', 'CFLAGS'),
-@@ -75,6 +72,10 @@ extra_cflags += ' -Isrc'
+@@ -75,6 +72,10 @@
  env.Append(CFLAGS=extra_cflags)
  env.Append(CXXFLAGS=extra_cflags)
  env.Replace(SHLIBPREFIX = '')