diff options
author | arved <arved@FreeBSD.org> | 2007-08-01 04:24:22 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2007-08-01 04:24:22 +0800 |
commit | ff2a4e78579dbb7ca03f28a98669132a64a0c2f0 (patch) | |
tree | e5734ab8dba6dc37b588ccac9c2f4688b6752ee6 /x11-wm | |
parent | 729476ead7962193844559192784e58cd7bcca61 (diff) | |
download | freebsd-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')
-rw-r--r-- | x11-wm/wm2/files/patch-Client.C | 11 | ||||
-rw-r--r-- | x11-wm/wm2/files/patch-ab | 8 |
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() - { |