Remove call to setenv.
[fedora-mingw.git] / inkscape / mingw32-inkscape-20081027-no-setenv.patch
diff --git a/inkscape/mingw32-inkscape-20081027-no-setenv.patch b/inkscape/mingw32-inkscape-20081027-no-setenv.patch
new file mode 100644 (file)
index 0000000..4e8fe15
--- /dev/null
@@ -0,0 +1,12 @@
+--- src/main.cpp.orig  2008-10-27 15:17:26.000000000 +0000
++++ src/main.cpp       2008-10-27 15:18:02.000000000 +0000
+@@ -521,7 +521,9 @@
+ #endif
+         tmp += oldenv;
+     }
++#ifndef WIN32
+     setenv("PYTHONPATH", tmp.c_str(), 1);
++#endif
+     
+     return 0;
+ }