diff options
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/stklos/files/stklos-2.00-threads.patch | 22 | ||||
-rw-r--r-- | dev-scheme/stklos/stklos-2.00-r1.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-scheme/stklos/files/stklos-2.00-threads.patch b/dev-scheme/stklos/files/stklos-2.00-threads.patch new file mode 100644 index 000000000000..0a32bc5de7d8 --- /dev/null +++ b/dev-scheme/stklos/files/stklos-2.00-threads.patch @@ -0,0 +1,22 @@ +--- a/src/stklos.h ++++ b/src/stklos.h +@@ -46,15 +46,15 @@ + #include <memory.h> + #include <locale.h> + #include <stdint.h> +-#ifndef THEADS_NONE ++ ++#include "stklosconf.h" ++#include "extraconf.h" ++#ifndef THREADS_NONE + # include <pthread.h> + # define GC_THREADS 1 + # define _REENTRANT 1 + #endif + +-#include "stklosconf.h" +-#include "extraconf.h" +- + /* To debug the GC uncomment the following line */ + /* #define GC_DEBUG 1 */ + diff --git a/dev-scheme/stklos/stklos-2.00-r1.ebuild b/dev-scheme/stklos/stklos-2.00-r1.ebuild index 9e29a396bca6..a7f5f7d4abfd 100644 --- a/dev-scheme/stklos/stklos-2.00-r1.ebuild +++ b/dev-scheme/stklos/stklos-2.00-r1.ebuild @@ -23,6 +23,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-gentoo.patch "${FILESDIR}"/${P}-ldflags.patch + "${FILESDIR}"/${P}-threads.patch ) DOCS=( AUTHORS ChangeLog NEWS.md PACKAGES-USED {PORTING-NOTES,README}.md SUPPORTED-SRFIS ) |