summaryrefslogtreecommitdiff
path: root/sysutils/gworkspace/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gworkspace/patches/patch-aa')
-rw-r--r--sysutils/gworkspace/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/gworkspace/patches/patch-aa b/sysutils/gworkspace/patches/patch-aa
new file mode 100644
index 00000000000..0941012871f
--- /dev/null
+++ b/sysutils/gworkspace/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2003/07/06 08:51:34 rh Exp $
+
+--- Utilities/thumbnailer/main.m.orig 2003-06-30 23:40:26.000000000 +1000
++++ Utilities/thumbnailer/main.m
+@@ -677,18 +677,26 @@ int main(int argc, char** argv, char **e
+ exit(0);
+ }
+
++#if GS_WITH_GC
+ CREATE_AUTORELEASE_POOL (pool);
++#endif
+ thumbnailer = [Thumbnailer new];
++#if GS_WITH_GC
+ RELEASE (pool);
++#endif
+
+ if (thumbnailer != nil) {
++#if GS_WITH_GC
+ CREATE_AUTORELEASE_POOL (pool);
++#endif
+
+ [NSApplication sharedApplication];
+ NSRegisterServicesProvider(thumbnailer, @"Thumbnailer");
+ [[NSRunLoop currentRunLoop] run];
+
++#if GS_WITH_GC
+ RELEASE (pool);
++#endif
+ }
+
+ exit(0);