aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt33
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-03-21 07:56:53 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-03-21 07:56:53 +0000
commit2a441360b511e2c6bf940200149d0db5eee2e53b (patch)
treecc777a7bfb73a65a91b012c984e0804e8dbb825b /x11-toolkits/qt33
parent37e26c557a6433cb1da72ef4c62ae6d22d7185b0 (diff)
downloadports-2a441360b511e2c6bf940200149d0db5eee2e53b.tar.gz
ports-2a441360b511e2c6bf940200149d0db5eee2e53b.zip
Fix build with gcc41 (on amd64)
Notes
Notes: svn path=/head/; revision=187839
Diffstat (limited to 'x11-toolkits/qt33')
-rw-r--r--x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp b/x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp
new file mode 100644
index 000000000000..954d37595efb
--- /dev/null
+++ b/x11-toolkits/qt33/files/patch-tools_qvfb-qvfbview.cpp
@@ -0,0 +1,11 @@
+--- tools/qvfb/qvfbview.cpp.orig Wed Mar 21 08:48:22 2007
++++ tools/qvfb/qvfbview.cpp Wed Mar 21 08:48:33 2007
+@@ -115,7 +115,7 @@
+ data = (unsigned char *)shmat( shmId, 0, 0 );
+ }
+
+- if ( (int)data == -1 )
++ if ( (long)data == -1 )
+ qFatal( "Cannot attach to shared memory" );
+
+ hdr = (QVFbHeader *)data;