mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
gnustep-base: unbreak musl
This commit is contained in:
parent
8a5257d943
commit
54e6bca33a
2 changed files with 26 additions and 3 deletions
24
srcpkgs/gnustep-base/patches/use-va_copy.patch
Normal file
24
srcpkgs/gnustep-base/patches/use-va_copy.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
--- Source/GSFormat.m.orig
|
||||||
|
+++ Source/GSFormat.m
|
||||||
|
@@ -884,10 +884,10 @@
|
||||||
|
/* Initialize local variables. */
|
||||||
|
done = 0;
|
||||||
|
grouping = (const char *) -1;
|
||||||
|
-#ifdef __va_copy
|
||||||
|
+#ifdef va_copy
|
||||||
|
/* This macro will be available soon in gcc's <stdarg.h>. We need it
|
||||||
|
since on some systems `va_list' is not an integral type. */
|
||||||
|
- __va_copy (ap_save, ap);
|
||||||
|
+ va_copy (ap_save, ap);
|
||||||
|
#else
|
||||||
|
ap_save = ap;
|
||||||
|
#endif
|
||||||
|
@@ -1947,7 +1947,7 @@
|
||||||
|
all_done:
|
||||||
|
if (workend_malloced) free(workend);
|
||||||
|
/* Unlock the stream. */
|
||||||
|
-#ifdef __va_copy
|
||||||
|
+#ifdef va_copy
|
||||||
|
va_end(ap_save);
|
||||||
|
#endif
|
||||||
|
return;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gnustep-base'
|
# Template file for 'gnustep-base'
|
||||||
pkgname=gnustep-base
|
pkgname=gnustep-base
|
||||||
version=1.26.0
|
version=1.26.0
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="gnustep-make gcc-objc pkg-config"
|
hostmakedepends="gnustep-make gcc-objc pkg-config"
|
||||||
makedepends="libobjc-devel libffi-devel libxml2-devel gnutls-devel
|
makedepends="libobjc-devel libffi-devel libxml2-devel gnutls-devel
|
||||||
|
@ -15,8 +15,7 @@ checksum=f68bc066c60c73cfc1582326866d0a59be791df56d752dfdc51b838e79364173
|
||||||
|
|
||||||
nocross="objc doesn't get cross build at present within gcc"
|
nocross="objc doesn't get cross build at present within gcc"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) configure_args="${configure_args} --disable-iconv";
|
*-musl) configure_args="${configure_args} --disable-iconv"; ;;
|
||||||
broken="musl patching for this is beyond the author at this time";;
|
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue