summaryrefslogtreecommitdiff
path: root/system/heirloom-pax/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-25 11:29:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 09:57:52 -0500
commitaa67525d22703d0b062f306969dca31f00cf8958 (patch)
tree6286e98529ef5d3b9c5399f8757033929cf8ecfd /system/heirloom-pax/APKBUILD
parent93cf7fc8b05fe3003b6f16b766622544cdf3830b (diff)
downloadpackages-aa67525d22703d0b062f306969dca31f00cf8958.tar.gz
packages-aa67525d22703d0b062f306969dca31f00cf8958.tar.bz2
packages-aa67525d22703d0b062f306969dca31f00cf8958.tar.xz
packages-aa67525d22703d0b062f306969dca31f00cf8958.zip
system/heirloom-pax: Update for Modern C
Enums do not work like they did in the mid 1980s. This allows the build to work on GCC 13. I have tested basic usage of cpio and pax tools.
Diffstat (limited to 'system/heirloom-pax/APKBUILD')
-rw-r--r--system/heirloom-pax/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/heirloom-pax/APKBUILD b/system/heirloom-pax/APKBUILD
index 303af5ebb..ec9e444d4 100644
--- a/system/heirloom-pax/APKBUILD
+++ b/system/heirloom-pax/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=heirloom-pax
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Portable Archive eXchange, the POSIX archival tool"
url="http://heirloom.sourceforge.net/"
arch="all"
@@ -13,7 +13,9 @@ makedepends="bsd-compat-headers bzip2-dev zlib-dev"
replaces="pax"
subpackages="$pkgname-doc"
source="https://distfiles.adelielinux.org/source/${pkgname}-$pkgver.tar.xz
- sysmacros.patch"
+ sysmacros.patch
+ modern-c.patch
+ "
build() {
make LD="gcc"
@@ -30,4 +32,5 @@ package() {
}
sha512sums="7b0ad20cc51b5bcec9c07e84c603e4891f636944f6f6bd13d3decb0e9d6b23d6164b663468ee2293b37721aae20334774f4e56fd8541ffceee934050e819b642 heirloom-pax-1.0.tar.xz
-bcc12138ebed707e165a1ac5dac815acd85770974e19f62610e0fe32a96879fb1173fc4e7beafde12b7bc1ed03f2751b2839eeb3ccacbe209d8cbcfe0307eac3 sysmacros.patch"
+bcc12138ebed707e165a1ac5dac815acd85770974e19f62610e0fe32a96879fb1173fc4e7beafde12b7bc1ed03f2751b2839eeb3ccacbe209d8cbcfe0307eac3 sysmacros.patch
+e0e2756bf3f55862880eadf6c5852e1c2dc6cdc4a75451a4d917685ef3c7f955f23229eef1c778be32bc27a1253ceaf820225d3ea794cfc88fe702adccaf9ef7 modern-c.patch"