guile1.8: fix musl build

This commit is contained in:
newbluemoon 2017-10-26 14:01:20 +02:00 committed by Enno Boland
parent 1190f3186c
commit f08a900e5a
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
--- libguile/fports.c.orig 2010-12-13 18:24:40.000000000 +0100
+++ libguile/fports.c 2017-10-25 21:51:07.234942515 +0200
@@ -78,8 +78,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 file for 'guile1.8'
pkgname="guile1.8"
version="1.8.8"
revision=1
revision=2
wrksrc=${pkgname/1.8/}-${version}
build_style="gnu-configure"
hostmakedepends="pkg-config"