guile: fix cross
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
1f349e7261
commit
fa07d7ed71
|
@ -0,0 +1,40 @@
|
||||||
|
--- libguile/finalizers.c 2014-05-02 15:15:57.000000000 +0200
|
||||||
|
+++ libguile/finalizers.c 2019-01-04 14:32:52.336586516 +0100
|
||||||
|
@@ -164,7 +164,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef HAVE_GC_SET_FINALIZER_NOTIFIER
|
||||||
|
-static void
|
||||||
|
+void
|
||||||
|
GC_set_finalizer_notifier (void (*notifier) (void))
|
||||||
|
{
|
||||||
|
GC_finalizer_notifier = notifier;
|
||||||
|
--- libguile/gc.c 2016-12-15 01:03:33.000000000 +0100
|
||||||
|
+++ libguile/gc.c 2019-01-04 14:35:56.357579179 +0100
|
||||||
|
@@ -196,7 +196,7 @@
|
||||||
|
/* Compatibility. */
|
||||||
|
|
||||||
|
#ifndef HAVE_GC_GET_HEAP_USAGE_SAFE
|
||||||
|
-static void
|
||||||
|
+void
|
||||||
|
GC_get_heap_usage_safe (GC_word *pheap_size, GC_word *pfree_bytes,
|
||||||
|
GC_word *punmapped_bytes, GC_word *pbytes_since_gc,
|
||||||
|
GC_word *ptotal_bytes)
|
||||||
|
@@ -214,7 +214,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_GC_GET_FREE_SPACE_DIVISOR
|
||||||
|
-static GC_word
|
||||||
|
+GC_word
|
||||||
|
GC_get_free_space_divisor (void)
|
||||||
|
{
|
||||||
|
return GC_free_space_divisor;
|
||||||
|
@@ -586,7 +586,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef HAVE_GC_SET_FINALIZE_ON_DEMAND
|
||||||
|
-static void
|
||||||
|
+void
|
||||||
|
GC_set_finalize_on_demand (int foo)
|
||||||
|
{
|
||||||
|
GC_finalize_on_demand = foo;
|
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'guile'
|
# Template file for 'guile'
|
||||||
pkgname=guile
|
pkgname=guile
|
||||||
version=2.0.14
|
version=2.0.14
|
||||||
revision=6
|
revision=7
|
||||||
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"
|
||||||
makedepends="gmp-devel libltdl-devel libunistring-devel libffi-devel gc-devel
|
makedepends="gc-devel gmp-devel libatomic_ops-devel libffi-devel libltdl-devel
|
||||||
ncurses-devel readline-devel"
|
libunistring-devel readline-devel"
|
||||||
short_desc="A portable, embeddable Scheme implementation written in C"
|
short_desc="A portable, embeddable Scheme implementation written in C"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3.0-or-later, LGPL-3.0-or-later"
|
license="GPL-3.0-or-later, LGPL-3.0-or-later"
|
||||||
|
|
Loading…
Reference in New Issue