--- /dev/null
+--- 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;
+ }
Patch1: mingw32-inkscape-20081027-no-is-os-vista.patch
Patch2: mingw32-inkscape-20081027-extra-win32-objects.patch
Patch3: mingw32-inkscape-20081027-pango-enable-engine.patch
+Patch4: mingw32-inkscape-20081027-no-setenv.patch
# This is a hack, but for some reason PKG_CHECK_MODULES isn't
# updating CFLAGS correctly. This just works around the problem.
-Patch4: mingw32-inkscape-20081027-Makefile.am-cflags.patch
+Patch5: mingw32-inkscape-20081027-Makefile.am-cflags.patch
BuildArch: noarch
%patch2 -p0
%patch3 -p0
%patch4 -p0
+%patch5 -p0
./autogen.sh