bsd-games: fixes for musl. different mirror.
This commit is contained in:
parent
5477a1a8dd
commit
b69e01c0de
2 changed files with 9 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
||||||
diff -ru a/include/stdio.h b/include/stdio.h
|
diff -ru a/include/stdio.h b/include/stdio.h
|
||||||
--- a/include/stdio.h 2000-08-04 10:24:39.000000000 +1000
|
--- a/include/stdio.h 2000-08-04 10:24:39.000000000 +1000
|
||||||
+++ b/include/stdio.h 2005-06-18 14:26:35.000000000 +1000
|
+++ b/include/stdio.h 2005-06-18 14:26:35.000000000 +1000
|
||||||
@@ -34,6 +34,10 @@
|
@@ -34,6 +34,11 @@
|
||||||
#include <bsd-games.h>
|
#include <bsd-games.h>
|
||||||
#include_next <stdio.h>
|
#include_next <stdio.h>
|
||||||
|
|
||||||
|
+#include <sys/cdefs.h>
|
||||||
+__BEGIN_DECLS
|
+__BEGIN_DECLS
|
||||||
+
|
+
|
||||||
#ifndef HAVE_fgetln
|
#ifndef HAVE_fgetln
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bsd-games'. Based on Arch PKGBUILD by Chris Brannon.
|
# Template file for 'bsd-games'. Based on Arch PKGBUILD by Chris Brannon.
|
||||||
pkgname=bsd-games
|
pkgname=bsd-games
|
||||||
version=2.17
|
version=2.17
|
||||||
revision=1
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_dirs="
|
make_dirs="
|
||||||
|
@ -15,7 +15,7 @@ short_desc="A linux port for a collection of BSD command line games"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="ftp://ftp.ibiblio.org/pub/Linux/games/"
|
homepage="ftp://ftp.ibiblio.org/pub/Linux/games/"
|
||||||
distfiles="ftp://ftp.ibiblio.org/pub/Linux/games/${pkgname}-${version}.tar.gz"
|
distfiles="ftp://ftp.lip6.fr/pub/linux/sunsite/games/${pkgname}-${version}.tar.gz"
|
||||||
checksum=066f924aef6c1c5ea946f588e36f303021f5dfc093944738f025d8edbc6fff60
|
checksum=066f924aef6c1c5ea946f588e36f303021f5dfc093944738f025d8edbc6fff60
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
|
@ -36,6 +36,11 @@ post_extract() {
|
||||||
sed -i "s/\.I range/\.It range/g" arithmetic/arithmetic.6
|
sed -i "s/\.I range/\.It range/g" arithmetic/arithmetic.6
|
||||||
sed -i "s/game were the/game where the/g" gomoku/gomoku.6
|
sed -i "s/game were the/game where the/g" gomoku/gomoku.6
|
||||||
sed -i 's|/usr/games|/usr/bin|g' wargames/wargames
|
sed -i 's|/usr/games|/usr/bin|g' wargames/wargames
|
||||||
|
|
||||||
|
sed -i '1i#include <sys/types.h>' banner/banner.c
|
||||||
|
sed -i 's/getdate/get_date/g' hack/*.[ch]
|
||||||
|
sed -i '1i#include <fcntl.h>' wump/wump.c
|
||||||
|
sed -i 's/-DOTTO//' hunt/Makeconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue