aboutsummaryrefslogtreecommitdiffstats
path: root/community/heirloom-doctools
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-05-08 21:30:27 +0000
committerMike Sullivan <mksully22@gmail.com>2019-05-09 14:38:39 +0000
commit17cb7a7bf104fd684d6016655378dbd52d7a7546 (patch)
tree620e334d465c1171b32b487238654ba6855d88ca /community/heirloom-doctools
parentb3348657a9d0050427ac36f30567aa91be64b080 (diff)
downloadaports-17cb7a7bf104fd684d6016655378dbd52d7a7546.tar.bz2
aports-17cb7a7bf104fd684d6016655378dbd52d7a7546.tar.xz
community/heirloom-doctools: fix build break by updating bison parsing
and remove empty variables in APKBUILD and spaces
Diffstat (limited to 'community/heirloom-doctools')
-rw-r--r--community/heirloom-doctools/APKBUILD12
-rw-r--r--community/heirloom-doctools/fix-bison-parsing.patch11
2 files changed, 16 insertions, 7 deletions
diff --git a/community/heirloom-doctools/APKBUILD b/community/heirloom-doctools/APKBUILD
index 6e8da5efa5..93e068ee9c 100644
--- a/community/heirloom-doctools/APKBUILD
+++ b/community/heirloom-doctools/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=heirloom-doctools
pkgver=160308
-pkgrel=6
+pkgrel=7
pkgdesc="The Heirloom Documentation Tools"
url="http://n-t-roff.github.io/heirloom/doctools.html"
arch="all"
@@ -10,9 +10,9 @@ license="CDDL"
depends="!coreutils !util-linux !mdocml-soelim"
depends_dev=""
makedepends="flex bison"
-install=""
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/n-t-roff/${pkgname}/archive/${pkgver}.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/n-t-roff/${pkgname}/archive/${pkgver}.tar.gz
+ fix-bison-parsing.patch"
_makeargs="
CC="${CC:-gcc}" \
@@ -33,7 +33,6 @@ _makeargs="
PSTDIR=/usr/share/$pkgname/font/devpost/postscript
"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
# Unfortunately parallel build isn't supported.
make -j1 $_makeargs -C "$builddir" || return 1
@@ -48,6 +47,5 @@ package() {
rm -f "$pkgdir"/usr/share/man/man1/soelim.1
}
-md5sums="f9759a099fca6b3021da33b94b1f37a9 heirloom-doctools-160308.tar.gz"
-sha256sums="d54e22e89acfddae4cd7a1fb583ca5fce097ba4c91c7b32f634944f137af175b heirloom-doctools-160308.tar.gz"
-sha512sums="46a5b2969a807abeb4a45eb63db918c903fe02226edddccabc4eabc7e6ad77dd1c0cf633fe55981f16907cb96f3a94a769383966d2f5f5dcde276734f7ad00d7 heirloom-doctools-160308.tar.gz"
+sha512sums="46a5b2969a807abeb4a45eb63db918c903fe02226edddccabc4eabc7e6ad77dd1c0cf633fe55981f16907cb96f3a94a769383966d2f5f5dcde276734f7ad00d7 heirloom-doctools-160308.tar.gz
+fd3bf026749d960c63e3a0b8dbb66c7aa1035f4a314a256e7b8794336b48901452fce6a78b54daf4a5eaf909ef27759c1e58ec59391af75bf083e54a2da7b138 fix-bison-parsing.patch"
diff --git a/community/heirloom-doctools/fix-bison-parsing.patch b/community/heirloom-doctools/fix-bison-parsing.patch
new file mode 100644
index 0000000000..40d440256a
--- /dev/null
+++ b/community/heirloom-doctools/fix-bison-parsing.patch
@@ -0,0 +1,11 @@
+--- a/eqn/yyval.sed
++++ b/eqn/yyval.sed
+@@ -7,7 +7,7 @@
+ 1,2 {
+ /Bison/ {
+ :look
+- /second part of user declarations/ {
++ /^#ifdef YYTYPE_UINT8$/ {
+ i\
+ YYSTYPE yyval;
+ :repl