summary refs log tree commit diff
path: root/pkgs/applications/graphics/freecad/pythonpath.patch
blob: 8b09a57480710792c00b7b3b05115450b19460c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp
index 03407c5..b029384 100644
--- a/src/Main/MainGui.cpp
+++ b/src/Main/MainGui.cpp
@@ -190,15 +190,15 @@ int main( int argc, char ** argv )
     // http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559846
     putenv("LANG=C");
     putenv("LC_ALL=C");
-    putenv("PYTHONPATH=");
+    //putenv("PYTHONPATH=");
 #elif defined(FC_OS_MACOSX)
     (void)QLocale::system();
     putenv("LANG=C");
     putenv("LC_ALL=C");
-    putenv("PYTHONPATH=");
+    //putenv("PYTHONPATH=");
 #else
     setlocale(LC_NUMERIC, "C");
-    _putenv("PYTHONPATH=");
+    //_putenv("PYTHONPATH=");
 #endif
 
     // Name and Version of the Application