SOURCES: gnustep-examples-pass-arguments.patch - updated for 1.1.0
qboosh
qboosh at pld-linux.org
Fri Dec 29 02:32:18 CET 2006
Author: qboosh Date: Fri Dec 29 01:32:18 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 1.1.0
---- Files affected:
SOURCES:
gnustep-examples-pass-arguments.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/gnustep-examples-pass-arguments.patch
diff -u SOURCES/gnustep-examples-pass-arguments.patch:1.3 SOURCES/gnustep-examples-pass-arguments.patch:1.4
--- SOURCES/gnustep-examples-pass-arguments.patch:1.3 Sun Oct 31 18:13:07 2004
+++ SOURCES/gnustep-examples-pass-arguments.patch Fri Dec 29 02:32:13 2006
@@ -107,26 +107,6 @@
pool = [NSAutoreleasePool new];
app = [NSApplication sharedApplication];
-diff -ur gnustep-examples-0.9.7-orig/gui/GPuzzle/main.m gnustep-examples-0.9.7/gui/GPuzzle/main.m
---- gnustep-examples-0.9.7-orig/gui/GPuzzle/main.m 2002-05-28 20:37:18.000000000 -0600
-+++ gnustep-examples-0.9.7/gui/GPuzzle/main.m 2004-08-20 02:04:46.090229756 -0600
-@@ -179,9 +179,16 @@
-
- @end
-
-+#ifdef GS_PASS_ARGUMENTS
-+extern char **environ;
-+#endif
-+
- int
- main(int argc, const char **argv, char** env)
- {
-+#ifdef GS_PASS_ARGUMENTS
-+ [NSProcessInfo initializeWithArguments: argv count: argc environment: environ];
-+#endif
- [NSApplication sharedApplication];
- [NSApp setDelegate: [MyDelegate new]];
-
diff -ur gnustep-examples-0.9.7-orig/gui/HostAddress/main.m gnustep-examples-0.9.7/gui/HostAddress/main.m
--- gnustep-examples-0.9.7-orig/gui/HostAddress/main.m 2002-01-08 11:23:01.000000000 -0700
+++ gnustep-examples-0.9.7/gui/HostAddress/main.m 2004-08-20 02:04:46.090229756 -0600
@@ -148,25 +128,4 @@
+
[NSApplication sharedApplication];
-
-diff -ur gnustep-examples-0.9.7-orig/gui/Ink/main.m gnustep-examples-0.9.7/gui/Ink/main.m
---- gnustep-examples-0.9.7-orig/gui/Ink/main.m 2002-04-06 16:47:08.000000000 -0700
-+++ gnustep-examples-0.9.7/gui/Ink/main.m 2004-08-20 02:04:46.091229616 -0600
-@@ -276,9 +276,17 @@
-
- @end
-
-+#ifdef GS_PASS_ARGUMENTS
-+extern char **environ;
-+#endif
-+
- int
- main(int argc, const char **argv, char** env)
- {
-+#ifdef GS_PASS_ARGUMENTS
-+ [NSProcessInfo initializeWithArguments: argv count: argc environment: environ];
-+#endif
-+
- [NSApplication sharedApplication];
- [NSApp setDelegate: [MyDelegate new]];
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/gnustep-examples-pass-arguments.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list