aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2021-10-24 02:35:54 +0300
committerAndy Postnikov <apostnikov@gmail.com>2021-10-24 02:40:29 +0300
commite452799c6718643d7a2cdf24c13974a9877c981d (patch)
treebc644b5550da54c252dcc15fa1f035f16e674d9b
parente58918c3c38fe4f51369ba3bb451644dc54cebe3 (diff)
downloadaports-e452799c6718643d7a2cdf24c13974a9877c981d.tar.gz
aports-e452799c6718643d7a2cdf24c13974a9877c981d.tar.bz2
aports-e452799c6718643d7a2cdf24c13974a9877c981d.tar.xz
community/nedit: fix build
-rw-r--r--community/nedit/APKBUILD8
-rw-r--r--community/nedit/fix-build.patch11
2 files changed, 17 insertions, 2 deletions
diff --git a/community/nedit/APKBUILD b/community/nedit/APKBUILD
index a7ff5e6c22..da192f8be5 100644
--- a/community/nedit/APKBUILD
+++ b/community/nedit/APKBUILD
@@ -10,7 +10,8 @@ license="GPL-2.0-or-later"
# perl for docs, bison and flex are used but may be optional
makedepends="$depends_dev motif-dev bison flex perl"
[ "$CARCH" != "riscv64" ] && subpackages="$pkgname-doc"
-source="https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-$pkgver-src.tar.gz"
+source="https://downloads.sourceforge.net/project/nedit/nedit-source/nedit-$pkgver-src.tar.gz
+ fix-build.patch"
options="!check" # No tests
build() {
@@ -36,4 +37,7 @@ doc() {
done
}
-sha512sums="cf242d2f8eea4c78649dbeb741f545a3dc8ffaf5bb36239794a4b2635420e5445fa1c77472add79c05ec081d71a0b9df4431f48db365a71692e43869fd4e7932 nedit-5.7-src.tar.gz"
+sha512sums="
+cf242d2f8eea4c78649dbeb741f545a3dc8ffaf5bb36239794a4b2635420e5445fa1c77472add79c05ec081d71a0b9df4431f48db365a71692e43869fd4e7932 nedit-5.7-src.tar.gz
+5f1e23e38814b978d13f8932c0998e18f12ff7ad90d31d3754ca9588e871777f18a258941c146bf31654d6ad72a8e668964d06877fe9d69cbb52c2db80ff1187 fix-build.patch
+"
diff --git a/community/nedit/fix-build.patch b/community/nedit/fix-build.patch
new file mode 100644
index 0000000000..8b04db8efe
--- /dev/null
+++ b/community/nedit/fix-build.patch
@@ -0,0 +1,11 @@
+--- a/doc/Makefile 2021-10-24 02:24:18.314331751 +0300
++++ b/doc/Makefile 2021-10-24 02:24:13.446288454 +0300
+@@ -48,8 +48,6 @@
+ ../source/help_topic.h ../source/help_data.h: .version help.etx setext
+ @ echo "Creating NEdit help code `cat .version`"
+ @ ./setext -m -v version="`cat .version`" help.etx
+- @ mv -f help_topic.h ../source
+- @ mv -f help_data.h ../source
+
+ nedit.html: .version help.etx setext
+ @ echo "Creating NEdit HTML documentation..."