mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
bk: update to 7.3.2.
This commit is contained in:
parent
b1cfd501e0
commit
8708434614
2 changed files with 30 additions and 9 deletions
22
srcpkgs/bk/patches/size_t.patch
Normal file
22
srcpkgs/bk/patches/size_t.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
--- src/slib.c.orig
|
||||||
|
+++ src/slib.c
|
||||||
|
@@ -14921,7 +14921,7 @@
|
||||||
|
* Makefile).
|
||||||
|
*/
|
||||||
|
extern struct kwval *kw2val_lookup(register const char *str,
|
||||||
|
- register unsigned int len);
|
||||||
|
+ register size_t len);
|
||||||
|
#include "kw2val_lookup.c"
|
||||||
|
|
||||||
|
#define notKeyword -1
|
||||||
|
--- src/cmd.pl.orig
|
||||||
|
+++ src/cmd.pl
|
||||||
|
@@ -63,7 +63,7 @@
|
||||||
|
u8 remote:1; /* always allowed as a remote command */
|
||||||
|
} CMD;
|
||||||
|
|
||||||
|
-CMD *cmd_lookup(const char *str, unsigned int len);
|
||||||
|
+CMD *cmd_lookup(const char *str, size_t len);
|
||||||
|
|
||||||
|
END
|
||||||
|
|
|
@ -1,19 +1,16 @@
|
||||||
# Template file for 'bitkeeper'
|
# Template file for 'bitkeeper'
|
||||||
pkgname=bk
|
pkgname=bk
|
||||||
version=7.3ce.1
|
version=7.3.2
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="bk-7.3.1ce"
|
|
||||||
hostmakedepends="gperf groff perl bison pkg-config"
|
hostmakedepends="gperf groff perl bison pkg-config"
|
||||||
makedepends="libXft-devel libtomcrypt-devel libtommath-devel pcre-devel lz4-devel"
|
makedepends="libXft-devel libtomcrypt-devel libtommath-devel pcre-devel lz4-devel"
|
||||||
# bundles: tcl tk
|
# bundles: tcl tk
|
||||||
short_desc="BitKeeper Distributed Source Control System"
|
short_desc="BitKeeper Distributed Source Control System"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://www.bitkeeper.org/"
|
homepage="http://www.bitkeeper.org/"
|
||||||
distfiles="https://www.bitkeeper.org/downloads/${version}ce/${pkgname}-${version}ce.src.tar.gz"
|
distfiles="http://www.bitkeeper.org/downloads/${version}/${pkgname}-${version}.src.tar.gz"
|
||||||
# XXX call next version just "7.4"
|
checksum=833bf095a1f9c2be435fddbb3ffe10dadfad1853127b97892f1a81c884d4fe1d
|
||||||
distfiles="https://www.bitkeeper.org/downloads/7.3.1ce/${pkgname}-7.3.1ce.src.tar.gz"
|
|
||||||
checksum=8784fe01722ebac7d93854c25a3aa203ec2751d90d06b036003868f2d8e6d250
|
|
||||||
|
|
||||||
# Needs reworking of the build system.
|
# Needs reworking of the build system.
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
@ -21,6 +18,8 @@ nocross=yes
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# For musl:
|
# For musl:
|
||||||
sed -i '1i#define __DEFINED_FILE' src/libc/stdio_remap.h
|
sed -i '1i#define __DEFINED_FILE' src/libc/stdio_remap.h
|
||||||
|
# For glibc:
|
||||||
|
sed -i '1i#define __FILE_defined' src/libc/stdio_remap.h
|
||||||
sed -i 's/__linux__/__GLIBC__/' src/libc/utils/stackdump.c
|
sed -i 's/__linux__/__GLIBC__/' src/libc/utils/stackdump.c
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue