summaryrefslogtreecommitdiff
path: root/cpio
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2020-05-22 09:55:06 +0000
committerJuergen Daubert <jue@jue.li>2020-05-22 09:55:06 +0000
commit85ca35e83bae70f3706a5dffcdd3148de11309cf (patch)
tree9329c0a584a18e66308484c51f8e9c66b135ea22 /cpio
parentaf29c5512c8a1dfdf7b11c7fac1d74dd20c82598 (diff)
downloadcore-85ca35e83bae70f3706a5dffcdd3148de11309cf.tar.gz
core-85ca35e83bae70f3706a5dffcdd3148de11309cf.tar.xz
cpio: fix build with gcc 10
Diffstat (limited to 'cpio')
-rw-r--r--cpio/.signature4
-rw-r--r--cpio/Pkgfile7
2 files changed, 8 insertions, 3 deletions
diff --git a/cpio/.signature b/cpio/.signature
index 05faa53f..f28ce4f1 100644
--- a/cpio/.signature
+++ b/cpio/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/core.pub
-RWRJc1FUaeVeqpQgmMxnw+PgKAfnaalvtWMacljY/aRbBRwAWsu0rdI2y5bh6Sb0dcyyFQJtCNNSMB+MrmI6gfx67yGHjEdBhgE=
-SHA256 (Pkgfile) = 6930cf87b8838e8e995318b4e1831452832dd45deff59a07c3ec495bb9df4f0a
+RWRJc1FUaeVeqnEQOijM4wtiXEXtErmokr32QnqmPuUSFAO0pSeAs3o4h6o52Ys6R7zgT8qFtEuvkdJzxuCVUkOXV5MtCZys2wc=
+SHA256 (Pkgfile) = 22d885ecd6bbb559938ec2157c3884562e440e9449217a0e85f1d3a6eddc3290
SHA256 (.footprint) = 26cfb1dd44c5356afcdba7aa054685d535b15b4ab96897ad7bd24a6c9a14b9fe
SHA256 (cpio-2.13.tar.bz2) = eab5bdc5ae1df285c59f2a4f140a98fc33678a0bf61bdba67d9436ae26b46f6d
diff --git a/cpio/Pkgfile b/cpio/Pkgfile
index ef497526..7129374f 100644
--- a/cpio/Pkgfile
+++ b/cpio/Pkgfile
@@ -4,14 +4,19 @@
name=cpio
version=2.13
-release=1
+release=2
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
+
+ export CFLAGS="$CFLAGS -fcommon"
+
./configure --prefix=/usr --disable-nls
+
make
make DESTDIR=$PKG install
+
rm -r $PKG/usr/{libexec,share/info}
rm -r $PKG/usr/share/man/man8
}

Generated by cgit