aboutsummaryrefslogtreecommitdiff
path: root/devel/lincvs
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2004-08-20 10:32:19 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2004-08-20 10:32:19 +0000
commit00e41ef8c12c403c3881b52e85fb6a972e901d63 (patch)
treeeaa9a3152d52c016c3f673548aa732fd7e1ce645 /devel/lincvs
parent21a9ece01504904aa17fd8bb6a673994e503def1 (diff)
downloadports-00e41ef8c12c403c3881b52e85fb6a972e901d63.tar.gz
ports-00e41ef8c12c403c3881b52e85fb6a972e901d63.zip
- Update to version 1.3.2
- Fix build with gcc 3.4 [1] Reported by: pointyhat via kris [1]
Notes
Notes: svn path=/head/; revision=116749
Diffstat (limited to 'devel/lincvs')
-rw-r--r--devel/lincvs/Makefile10
-rw-r--r--devel/lincvs/distinfo4
-rw-r--r--devel/lincvs/files/patch-HistoryDialogImpl.cpp12
-rw-r--r--devel/lincvs/files/patch-LogDialogImpl.cpp12
4 files changed, 31 insertions, 7 deletions
diff --git a/devel/lincvs/Makefile b/devel/lincvs/Makefile
index e225c12dbcb2..2e0d9fa3d710 100644
--- a/devel/lincvs/Makefile
+++ b/devel/lincvs/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= lincvs
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2
CATEGORIES= devel kde
-MASTER_SITES= http://ppprs1.phy.tu-dresden.de/~trogisch/lincvs/download/20_LinCVS/hn_${PORTNAME}-${PORTVERSION}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-0-generic-src
+MASTER_SITES= http://ppprs1.phy.tu-dresden.de/~trogisch/lincvs/download/20_LinCVS/hl_${PORTNAME}-${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1-generic-src
EXTRACT_SUFX= .tgz
MAINTAINER= markus@FreeBSD.org
@@ -21,7 +21,7 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_QT_VER= 3
QTDIR?= ${X11BASE}
-MAKE_ENV+= QTDIR=${QTDIR}
+MAKE_ENV+= QTDIR=${QTDIR} QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
ALL_TARGET= install
USE_REINPLACE= yes
@@ -31,7 +31,7 @@ post-patch:
${WRKSRC}/src/lincvs.cpp
pre-build:
- ( cd ${WRKSRC} && qmake -spec freebsd-g++ -o Makefile lincvs.pro )
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake lincvs.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/LinCVS/lincvs.bin ${PREFIX}/bin/lincvs
diff --git a/devel/lincvs/distinfo b/devel/lincvs/distinfo
index aa979716faa4..3aff851ee569 100644
--- a/devel/lincvs/distinfo
+++ b/devel/lincvs/distinfo
@@ -1,2 +1,2 @@
-MD5 (lincvs-1.3.1-0-generic-src.tgz) = f98e8b7bb4b60e2b2d066c690cef4a1b
-SIZE (lincvs-1.3.1-0-generic-src.tgz) = 953598
+MD5 (lincvs-1.3.2-1-generic-src.tgz) = 1dd48ddaa98192f271381b2217e0941f
+SIZE (lincvs-1.3.2-1-generic-src.tgz) = 957209
diff --git a/devel/lincvs/files/patch-HistoryDialogImpl.cpp b/devel/lincvs/files/patch-HistoryDialogImpl.cpp
new file mode 100644
index 000000000000..99cf44db1e0e
--- /dev/null
+++ b/devel/lincvs/files/patch-HistoryDialogImpl.cpp
@@ -0,0 +1,12 @@
+--- src/HistoryDialogImpl.cpp.orig Fri Aug 20 10:48:34 2004
++++ src/HistoryDialogImpl.cpp Fri Aug 20 10:56:13 2004
+@@ -268,7 +268,8 @@
+ if (failed) return;
+ switch( cmd) {
+ case EDIT_REVISION_CMD: {
+- setPermission(QFile(tmpViewFileName),READABLE);//don't think you could change the file
++ QFile tmpFile(tmpViewFileName);
++ setPermission(tmpFile, READABLE);//don't think you could change the file
+ emit editFile(tmpViewFileName);
+ break;
+ }
diff --git a/devel/lincvs/files/patch-LogDialogImpl.cpp b/devel/lincvs/files/patch-LogDialogImpl.cpp
new file mode 100644
index 000000000000..c9cd7e16ae6c
--- /dev/null
+++ b/devel/lincvs/files/patch-LogDialogImpl.cpp
@@ -0,0 +1,12 @@
+--- src/LogDialogImpl.cpp.orig Fri Aug 20 10:57:57 2004
++++ src/LogDialogImpl.cpp Fri Aug 20 11:00:34 2004
+@@ -806,7 +806,8 @@
+ break;
+ }
+ case EDIT_REVISION_CMD: {
+- setPermission(QFile(m_tmpDiffFileNameA),READABLE);//don't think you could change the file
++ QFile tmpFile(m_tmpDiffFileNameA);
++ setPermission(tmpFile, READABLE);//don't think you could change the file
+ emit editFile(m_tmpDiffFileNameA);
+ break;
+ }