diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-07-31 20:24:22 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-07-31 20:24:22 +0000 |
commit | 0544a4fe18948556c307aa5eb56c7834ed424ba9 (patch) | |
tree | 8aa364c8999255069a0b48544fdff09ea9e273ca /x11-wm | |
parent | 1c3e23cd7b844ab22305b3b4504ac9022e2fc310 (diff) | |
download | ports-0544a4fe18948556c307aa5eb56c7834ed424ba9.tar.gz ports-0544a4fe18948556c307aa5eb56c7834ed424ba9.zip |
Fix build with gcc41
Notes
Notes:
svn path=/head/; revision=196853
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() - { |