summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryjun2021-02-13 16:25:34 +0800
committeryjun2021-02-13 16:25:34 +0800
commit330162eb2a5a027ee8b983b25684d12714be5abf (patch)
tree3e431908a51a280724cd7d8493a8f64f9dcdc764
parent94af533d6c3208abcae8bf2b02b35ab5d84493ce (diff)
downloadaur-onscripter-gbk-git.tar.gz
fixed patch error
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--target-optimizing.patch3
3 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8d3bbc9e62e..36137f3946d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -26,7 +26,7 @@ pkgbase = onscripter-gbk-git
md5sums = SKIP
md5sums = ffb513b2784747bea73591f48ee9737f
md5sums = 33749eb33188e06f8731213acc7cd70e
- md5sums = 2b7556bac039f28b6d73f01a7df74956
+ md5sums = bd3ef482e08153f304479a75ab45bc8e
pkgname = onscripter-gbk-git
diff --git a/PKGBUILD b/PKGBUILD
index 530b076254d..b7f11f0425e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ source=("${_gitname}::git+${url}"
md5sums=('SKIP'
'ffb513b2784747bea73591f48ee9737f'
'33749eb33188e06f8731213acc7cd70e'
- '2b7556bac039f28b6d73f01a7df74956')
+ 'bd3ef482e08153f304479a75ab45bc8e')
pkgver() {
cd "$_gitname"
diff --git a/target-optimizing.patch b/target-optimizing.patch
index 6649c5b06a0..f304ce07bf1 100644
--- a/target-optimizing.patch
+++ b/target-optimizing.patch
@@ -1,11 +1,10 @@
--- onscripter-jh/Makefile.Linux 2021-02-12 13:19:35.333287357 +0800
+++ onscripter-jh.new/Makefile.Linux 2021-02-12 13:18:28.066124344 +0800
-@@ -55,6 +55,19 @@
+@@ -55,6 +55,18 @@
LIBS += -llua5.1
EXT_OBJS += LUAHandler$(OBJSUFFIX)
+# optional: SIMD optimizing
-+DEFS += -DUSE_SIMD -DUSE_SIMD_X86_SSE2
+ARCH = $(shell uname -m)
+DEFS += -DUSE_SIMD
+ifneq ($(filter i686 x86_64,$(ARCH)),)