summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/patches/gc-7.0nomem.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/patches/gc-7.0nomem.patch')
-rw-r--r--Build/source/utils/asymptote/patches/gc-7.0nomem.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/patches/gc-7.0nomem.patch b/Build/source/utils/asymptote/patches/gc-7.0nomem.patch
new file mode 100644
index 00000000000..4cc2058f4c8
--- /dev/null
+++ b/Build/source/utils/asymptote/patches/gc-7.0nomem.patch
@@ -0,0 +1,21 @@
+*** gc_hdrs.h.orig Tue Jun 5 14:01:25 2007
+--- gc_hdrs.h Thu Oct 18 14:32:03 2007
+***************
+*** 112,119 ****
+ hhdr = hce -> hce_hdr; \
+ } else { \
+ hhdr = HEADER_CACHE_MISS(p, hce, source); \
+- if (0 == hhdr) goto exit_label; \
+ } \
+ }
+
+ typedef struct bi {
+--- 112,119 ----
+ hhdr = hce -> hce_hdr; \
+ } else { \
+ hhdr = HEADER_CACHE_MISS(p, hce, source); \
+ } \
++ if (0 == hhdr) goto exit_label; \
+ }
+
+ typedef struct bi {