diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-07-28 05:35:42 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-07-28 05:35:42 +0000 |
commit | a5dd14f3c074ad783961ce3542fd90f54a63a45b (patch) | |
tree | 7cc1c0359d088eece8a66135b7bf56483a36f867 /net-im | |
parent | 0660c879c3f891120be052bfafcf08947b8be158 (diff) | |
download | ports-a5dd14f3c074ad783961ce3542fd90f54a63a45b.tar.gz ports-a5dd14f3c074ad783961ce3542fd90f54a63a45b.zip |
Notes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/psi/Makefile | 3 | ||||
-rw-r--r-- | net-im/psi/files/patch-src::chatdlg.cpp | 24 | ||||
-rw-r--r-- | net-im/psi/files/patch-src::ndns.cpp | 3 | ||||
-rw-r--r-- | net-im/psi/files/template.patch-common.cpp | 2 |
4 files changed, 30 insertions, 2 deletions
diff --git a/net-im/psi/Makefile b/net-im/psi/Makefile index eda5d03a6c28..6f569b1d8304 100644 --- a/net-im/psi/Makefile +++ b/net-im/psi/Makefile @@ -7,6 +7,7 @@ PORTNAME= psi PORTVERSION= 0.8.6 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -23,7 +24,7 @@ MAKE_ARGS= QTDIR=${X11BASE} EXTRA_PATCHES= ${WRKDIR}/patch-common.cpp pre-patch: - ${SED} s,%%PREFIX%%,${PREFIX}, ${PATCHDIR}/template.patch-common.cpp > \ + ${SED} s,%%DATADIR%%,${DATADIR}, ${PATCHDIR}/template.patch-common.cpp > \ ${WRKDIR}/patch-common.cpp pre-build: diff --git a/net-im/psi/files/patch-src::chatdlg.cpp b/net-im/psi/files/patch-src::chatdlg.cpp new file mode 100644 index 000000000000..4c73eb0b316c --- /dev/null +++ b/net-im/psi/files/patch-src::chatdlg.cpp @@ -0,0 +1,24 @@ +$FreeBSD$ + +A workaround for a bug in qt-3.0.3. This patch file should be removed +if we ever upgrade to qt-3.0.5 + +--- src/chatdlg.cpp.orig Tue Jul 23 21:08:25 2002 ++++ src/chatdlg.cpp Tue Jul 23 21:09:59 2002 +@@ -384,13 +384,13 @@ + + //t->setUpdatesEnabled(FALSE); + if(emote) { +- t->append(QString("<font color=\"%1\">").arg(color) + QString("[%1]").arg(timestr) + QString(" *%1 ").arg(expandEntities(who)) + txt + "</font>"); ++ t->append(QString("<BR><font color=\"%1\">").arg(color) + QString("[%1]").arg(timestr) + QString(" *%1 ").arg(expandEntities(who)) + txt + "</font>"); + } + else { + if(option.chatSays) +- t->append(QString("<font color=\"%1\">").arg(color) + QString("[%1] ").arg(timestr) + expandEntities(who) + QString(" says:</font><br>") + txt); ++ t->append(QString("<BR><font color=\"%1\">").arg(color) + QString("[%1] ").arg(timestr) + expandEntities(who) + QString(" says:</font><br>") + txt); + else +- t->append(QString("<font color=\"%1\">").arg(color) + QString("[%1] <").arg(timestr) + expandEntities(who) + QString("></font> ") + txt); ++ t->append(QString("<BR><font color=\"%1\">").arg(color) + QString("[%1] <").arg(timestr) + expandEntities(who) + QString("></font> ") + txt); + } + if(!msg.subject.isEmpty()) { + t->append(QString("<b>") + tr("Subject:") + "</b> " + QString("%1").arg(expandEntities(msg.subject))); diff --git a/net-im/psi/files/patch-src::ndns.cpp b/net-im/psi/files/patch-src::ndns.cpp index 1a742aafc71e..8cd6c1d0f8d8 100644 --- a/net-im/psi/files/patch-src::ndns.cpp +++ b/net-im/psi/files/patch-src::ndns.cpp @@ -1,3 +1,6 @@ +$FreeBSD$ + + --- src/ndns.cpp.orig Thu Jul 11 18:49:42 2002 +++ src/ndns.cpp Thu Jul 11 18:40:24 2002 @@ -51,6 +51,7 @@ diff --git a/net-im/psi/files/template.patch-common.cpp b/net-im/psi/files/template.patch-common.cpp index 0df99d5aab7c..cf3ef753838f 100644 --- a/net-im/psi/files/template.patch-common.cpp +++ b/net-im/psi/files/template.patch-common.cpp @@ -7,7 +7,7 @@ $FreeBSD$ QString getResourcesDir() { - return "/usr/local/psi"; -+ return "%%PREFIX%%/share/psi"; ++ return "%%DATADIR%%"; } QString getHomeDir() |