guile: fix musl build

Closes: #8580 [via git-merge-pr]
This commit is contained in:
newbluemoon 2017-10-26 19:19:04 +02:00 committed by lemmi
parent 34bc072246
commit 99465c7552
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
--- libguile/fports.c.orig 2017-02-12 22:06:33.000000000 +0100
+++ libguile/fports.c 2017-10-26 19:09:26.425213055 +0200
@@ -66,8 +66,8 @@
#define OFF_T_MAX LONG_MAX
#define OFF_T_MIN LONG_MIN
#elif SIZEOF_OFF_T == SIZEOF_LONG_LONG
-#define OFF_T_MAX LONG_LONG_MAX
-#define OFF_T_MIN LONG_LONG_MIN
+#define OFF_T_MAX LLONG_MAX
+#define OFF_T_MIN LLONG_MIN
#else
#error Oops, unknown OFF_T size
#endif

View File

@ -1,7 +1,7 @@
# Template build file for 'guile'. # Template build file for 'guile'.
pkgname=guile pkgname=guile
version=2.0.14 version=2.0.14
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --disable-error-on-warning" configure_args="--disable-static --disable-error-on-warning"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"