- Update to version 0.13.2

- Add FreeBSD 6 device names
This commit is contained in:
Markus Brueffer 2005-06-09 23:12:12 +00:00
parent cb49cc5d83
commit 84d084c867
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137131
3 changed files with 13 additions and 9 deletions

View file

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= cutecom
PORTVERSION= 0.13.1
PORTVERSION= 0.13.2
CATEGORIES= comms
MASTER_SITES= http://cutecom.sourceforge.net/

View file

@ -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

View file

@ -1,11 +1,15 @@
--- 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;