aboutsummaryrefslogtreecommitdiff
path: root/comms/cutecom
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2005-06-09 23:12:12 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2005-06-09 23:12:12 +0000
commit84d084c867151e5b3186682073cdd0f691844f8c (patch)
treee9f6dfdcaa9998b930f18e8624547b9376d27504 /comms/cutecom
parentcb49cc5d8307d7c839ed79821fbfc85ec1627d8c (diff)
downloadports-84d084c867151e5b3186682073cdd0f691844f8c.tar.gz
ports-84d084c867151e5b3186682073cdd0f691844f8c.zip
- Update to version 0.13.2
- Add FreeBSD 6 device names
Notes
Notes: svn path=/head/; revision=137131
Diffstat (limited to 'comms/cutecom')
-rw-r--r--comms/cutecom/Makefile2
-rw-r--r--comms/cutecom/distinfo4
-rw-r--r--comms/cutecom/files/patch-qcppdialogimpl.cpp16
3 files changed, 13 insertions, 9 deletions
diff --git a/comms/cutecom/Makefile b/comms/cutecom/Makefile
index 3d70b63b5fa1..3157cfd0549d 100644
--- a/comms/cutecom/Makefile
+++ b/comms/cutecom/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= cutecom
-PORTVERSION= 0.13.1
+PORTVERSION= 0.13.2
CATEGORIES= comms
MASTER_SITES= http://cutecom.sourceforge.net/
diff --git a/comms/cutecom/distinfo b/comms/cutecom/distinfo
index 92d790e608b7..3204ed08a86a 100644
--- a/comms/cutecom/distinfo
+++ b/comms/cutecom/distinfo
@@ -1,2 +1,2 @@
-MD5 (cutecom-0.13.1.tar.gz) = dc1c75f9b55993b9d9426e17c11915a1
-SIZE (cutecom-0.13.1.tar.gz) = 20309
+MD5 (cutecom-0.13.2.tar.gz) = d115eb003ef8b119503050da0b4486e0
+SIZE (cutecom-0.13.2.tar.gz) = 20421
diff --git a/comms/cutecom/files/patch-qcppdialogimpl.cpp b/comms/cutecom/files/patch-qcppdialogimpl.cpp
index c010f0e60cc3..404926922ba6 100644
--- a/comms/cutecom/files/patch-qcppdialogimpl.cpp
+++ b/comms/cutecom/files/patch-qcppdialogimpl.cpp
@@ -1,12 +1,16 @@
---- qcppdialogimpl.cpp.orig Wed Oct 13 23:28:30 2004
-+++ qcppdialogimpl.cpp Fri Oct 15 19:04:08 2004
-@@ -190,11 +190,19 @@
+--- qcppdialogimpl.cpp.orig Thu Jun 9 21:43:44 2005
++++ qcppdialogimpl.cpp Thu Jun 9 23:26:47 2005
+@@ -217,11 +217,23 @@
bool entryFound=false;
QStringList devices=settings.readListEntry("/cutecom/AllDevices", &entryFound);
if (!entryFound)
+#ifdef __FreeBSD__
++#if __FreeBSD_version < 600000
+ devices<<"/dev/cuaa0"<<"/dev/cuaa1"<<"/dev/cuaa2"<<"/dev/cuaa3";
+#else
++ devices<<"/dev/cuad0"<<"/dev/cuad1"<<"/dev/cuad2"<<"/dev/cuad3";
++#endif
++#else
devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
+#endif
@@ -20,7 +24,7 @@
QStringList history=settings.readListEntry("/cutecom/History");
-@@ -295,7 +303,7 @@
+@@ -326,7 +338,7 @@
m_sz->addArgument("sh");
m_sz->addArgument("-c");
// QString tmp=QString("sx -vv \"")+filename+"\" < "+m_deviceCb->currentText()+" > "+m_deviceCb->currentText();
@@ -29,7 +33,7 @@
if (m_protoPb->currentText()=="XModem")
tmp+="--xmodem ";
else if (m_protoPb->currentText()=="YModem")
-@@ -414,7 +422,7 @@
+@@ -445,7 +457,7 @@
void QCPPDialogImpl::sendDone()
{
@@ -38,7 +42,7 @@
}
bool QCPPDialogImpl::eventFilter(QObject* watched, QEvent *e)
-@@ -773,15 +781,21 @@
+@@ -885,15 +897,21 @@
case 230400:
_baud=B230400;
break;