contrib/qt3/qt3-3.3.8-gcc4.patch
Lucas Hazel a4d19e1cf4 [notify] qt3: update to 3.3.8
The layout of the qt3 port has changed to make way for qt4.
2009-03-14 13:01:11 +11:00

13 lines
481 B
Diff

diff -Nru qt-x11-free-3.3.4-orig/tools/qvfb/qvfbview.cpp qt-x11-free-3.3.4/tools/qvfb/qvfbview.cpp
--- qt-x11-free-3.3.4-orig/tools/qvfb/qvfbview.cpp 2005-10-31 21:49:58.000000000 +0000
+++ qt-x11-free-3.3.4/tools/qvfb/qvfbview.cpp 2005-10-31 21:51:52.000000000 +0000
@@ -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;