diff options
author | Clive Lin <clive@FreeBSD.org> | 2004-12-18 08:48:28 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2004-12-18 08:48:28 +0000 |
commit | d3ef20c61024207f4cfb52e1c1d2eefce2fb9cc8 (patch) | |
tree | c09c4ab8d628c30245e4701afb2603e962a9ea11 /chinese | |
parent | Fix yet another plist nit. (diff) |
Fix build on FreeBSD 4.x.
PR: ports/75183
Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=124366
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/qterm/files/patch-qterm_qtermcanvas.cpp | 11 | ||||
-rw-r--r-- | chinese/qterm/files/patch-qterm_qtermiplocation.cpp | 14 |
2 files changed, 23 insertions, 2 deletions
diff --git a/chinese/qterm/files/patch-qterm_qtermcanvas.cpp b/chinese/qterm/files/patch-qterm_qtermcanvas.cpp new file mode 100644 index 000000000000..0c9ac95396f1 --- /dev/null +++ b/chinese/qterm/files/patch-qterm_qtermcanvas.cpp @@ -0,0 +1,11 @@ +--- qterm/qtermcanvas.cpp.orig Fri Dec 17 19:26:35 2004 ++++ qterm/qtermcanvas.cpp Fri Dec 17 19:26:39 2004 +@@ -238,7 +238,7 @@ + if(strSave.isEmpty()) + return; + QString fmt = fi.extension(false).upper(); +- if(!pxm.save(strSave, fmt=="JPG"?"JPEG":fmt)) ++ if(!pxm.save(strSave, fmt=="JPG"?QString("JPEG"):fmt)) + QMessageBox::warning(this, "Failed to save file", "Cant save file, maybe format not supported"); + } + diff --git a/chinese/qterm/files/patch-qterm_qtermiplocation.cpp b/chinese/qterm/files/patch-qterm_qtermiplocation.cpp index 8b98e0d9e56a..bce5d4e6ffe6 100644 --- a/chinese/qterm/files/patch-qterm_qtermiplocation.cpp +++ b/chinese/qterm/files/patch-qterm_qtermiplocation.cpp @@ -1,5 +1,15 @@ ---- qterm/qtermiplocation.cpp.orig Tue Dec 14 18:45:37 2004 -+++ qterm/qtermiplocation.cpp Tue Dec 14 18:46:21 2004 +--- qterm/qtermiplocation.cpp.orig Tue Dec 7 03:23:24 2004 ++++ qterm/qtermiplocation.cpp Fri Dec 17 19:24:22 2004 +@@ -9,8 +9,8 @@ + #ifdef Q_OS_WIN32 + #include <winsock2.h> + #else +-#include <netinet/in.h> + #include <arpa/inet.h> ++#include <netinet/in.h> + #endif + + #include <qstring.h> @@ -79,13 +79,13 @@ if( fseek( fp, (long)offset, SEEK_SET ) ==-1 ) { |