aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-wm/wm2/files/patch-Client.C11
-rw-r--r--x11-wm/wm2/files/patch-ab8
2 files changed, 11 insertions, 8 deletions
diff --git a/x11-wm/wm2/files/patch-Client.C b/x11-wm/wm2/files/patch-Client.C
new file mode 100644
index 000000000000..05f6a7d6d028
--- /dev/null
+++ b/x11-wm/wm2/files/patch-Client.C
@@ -0,0 +1,11 @@
+--- Client.C.orig 2007-07-31 22:18:48.000000000 +0200
++++ Client.C 2007-07-31 22:19:06.000000000 +0200
+@@ -410,7 +410,7 @@
+
+ x = *p;
+ XFree((void *)p);
+- return (int)x;
++ return (intptr_t)x;
+ }
+
+
diff --git a/x11-wm/wm2/files/patch-ab b/x11-wm/wm2/files/patch-ab
index 897370e67002..cf52d5530163 100644
--- a/x11-wm/wm2/files/patch-ab
+++ b/x11-wm/wm2/files/patch-ab
@@ -9,11 +9,3 @@
{
m_signalled = True;
}
-@@ -526,6 +526,7 @@
- extern int putenv(char *); /* not POSIX */
- }
- #endif
-+extern "C" int putenv(const char*);
-
- void WindowManager::spawn()
- {