diff options
Diffstat (limited to 'meta/recipes-devtools/guile/files/debian/0003-Include-gc.h-rather-than-gc-gc_version.h-in-pthread-.patch')
-rw-r--r-- | meta/recipes-devtools/guile/files/debian/0003-Include-gc.h-rather-than-gc-gc_version.h-in-pthread-.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/guile/files/debian/0003-Include-gc.h-rather-than-gc-gc_version.h-in-pthread-.patch b/meta/recipes-devtools/guile/files/debian/0003-Include-gc.h-rather-than-gc-gc_version.h-in-pthread-.patch new file mode 100644 index 0000000000..aa64f58800 --- /dev/null +++ b/meta/recipes-devtools/guile/files/debian/0003-Include-gc.h-rather-than-gc-gc_version.h-in-pthread-.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Upstream-Status: Inappropriate [debian patch] | ||
2 | |||
3 | From 0c91fa9270e86b20bfb8e62db5ac84617b2567d9 Mon Sep 17 00:00:00 2001 | ||
4 | From: Rob Browning <rlb@defaultvalue.org> | ||
5 | Date: Thu, 10 Nov 2011 02:23:04 -0600 | ||
6 | Subject: Include gc.h rather than gc/gc_version.h in pthread test. | ||
7 | |||
8 | See comments in recent gc_version.h. It should never be included | ||
9 | directly, and doing so was causing build failures. | ||
10 | --- | ||
11 | .../standalone/test-pthread-create-secondary.c | 2 +- | ||
12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
13 | |||
14 | diff --git a/test-suite/standalone/test-pthread-create-secondary.c b/test-suite/standalone/test-pthread-create-secondary.c | ||
15 | index fe39c2a..d87fb33 100644 | ||
16 | --- a/test-suite/standalone/test-pthread-create-secondary.c | ||
17 | +++ b/test-suite/standalone/test-pthread-create-secondary.c | ||
18 | @@ -27,7 +27,7 @@ | ||
19 | #include <stdlib.h> | ||
20 | #include <libguile.h> | ||
21 | |||
22 | -#include <gc/gc_version.h> | ||
23 | +#include <gc.h> | ||
24 | |||
25 | |||
26 | /* Up to GC 7.2alpha5, calling `GC_INIT' from a secondary thread would | ||