aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCormac Stephenson <c7s@kasku.net>2022-01-13 05:38:03 +0000
committerdispatch <dispatch@listserv.local>2022-01-13 05:44:29 +0000
commit0e9dd061d6bb00bc25fc43d5ddf58c822989220d (patch)
tree05a4556b54277e7c29046f70dcb11aca1605fb56
parent4310b11ff124962bf53a4eb405e5b76301783d44 (diff)
downloadaports-patches/3873.tar.gz
aports-patches/3873.tar.bz2
aports-patches/3873.tar.xz
testing/kakoune: patch Makefile to not overwrite CXXFLAGSpatches/3873
-rw-r--r--testing/kakoune/0001-fix-CXXFLAGS.patch25
-rw-r--r--testing/kakoune/APKBUILD2
2 files changed, 27 insertions, 0 deletions
diff --git a/testing/kakoune/0001-fix-CXXFLAGS.patch b/testing/kakoune/0001-fix-CXXFLAGS.patch
new file mode 100644
index 0000000000..54299cb252
--- /dev/null
+++ b/testing/kakoune/0001-fix-CXXFLAGS.patch
@@ -0,0 +1,25 @@
+From 4f4e4cc5a52efa02b763440d5bf6f5923258eafc Mon Sep 17 00:00:00 2001
+From: Cormac Stephenson <c7s@kasku.net>
+Date: Thu, 13 Jan 2022 05:04:52 +0000
+Subject: [PATCH] fix CXXFLAGS
+
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 63bf1833..abea58aa 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -16,7 +16,7 @@ ifeq ($(debug),yes)
+ suffix := .debug
+ else
+ ifeq ($(debug),no)
+- CXXFLAGS += -O3
++ # CXXFLAGS += -O3
+ suffix := .opt
+ else
+ $(error debug should be either yes or no)
+--
+2.34.1
+
diff --git a/testing/kakoune/APKBUILD b/testing/kakoune/APKBUILD
index df042681b6..b44d33851e 100644
--- a/testing/kakoune/APKBUILD
+++ b/testing/kakoune/APKBUILD
@@ -11,6 +11,7 @@ makedepends="asciidoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/kakoune/archive/v$pkgver.tar.gz
alpine-linux.kak
+ 0001-fix-CXXFLAGS.patch
"
build() {
@@ -29,4 +30,5 @@ package() {
sha512sums="
7ddb5952f07caa0f2861e71805d6bac574f2b90e8eac2358c251c1a99c3b85a914dd313c28da3d7871fd65f9b0c598ae8dc287e847f3ec17ee38b28d2a9fa0ec kakoune-2021.11.08.tar.gz
c5b11dc28adf785b4e83637fe1d5c9db334616d2d3f6c667823745e273f739c57d0d408b9bec8a65210e3c7ccb80a5b488ebbb3c0c5de8bdec13e1b4b4d02b77 alpine-linux.kak
+23d05861de3c23c8193b1b6d7ca0d2b5b33548c0ae9a317186ccca6533b51daffb9064d3ab9e7ac0a0a794e119633089ca34673b6d9dd56041e2f9046b38b87b 0001-fix-CXXFLAGS.patch
"