aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wm2
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-01 04:24:22 +0800
committerarved <arved@FreeBSD.org>2007-08-01 04:24:22 +0800
commitff2a4e78579dbb7ca03f28a98669132a64a0c2f0 (patch)
treee5734ab8dba6dc37b588ccac9c2f4688b6752ee6 /x11-wm/wm2
parent729476ead7962193844559192784e58cd7bcca61 (diff)
downloadfreebsd-ports-gnome-ff2a4e78579dbb7ca03f28a98669132a64a0c2f0.tar.gz
freebsd-ports-gnome-ff2a4e78579dbb7ca03f28a98669132a64a0c2f0.tar.zst
freebsd-ports-gnome-ff2a4e78579dbb7ca03f28a98669132a64a0c2f0.zip
Fix build with gcc41
Diffstat (limited to 'x11-wm/wm2')
-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()
- {