View | Details | Raw Unified | Return to bug 230753 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	minicom
4
PORTNAME=	minicom
5
PORTVERSION=	2.7.1
5
PORTVERSION=	2.7.1
6
PORTREVISION=	1
6
CATEGORIES=	comms
7
CATEGORIES=	comms
7
MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/4215/ \
8
MASTER_SITES=	https://alioth.debian.org/frs/download.php/file/4215/ \
8
		http://alioth.debian.org/frs/download.php/file/4215/ \
9
		http://alioth.debian.org/frs/download.php/file/4215/ \
(-)files/patch-doc_minirc.dfl (+10 lines)
Line 0 Link Here
1
--- doc/minirc.dfl.orig	2009-12-12 15:47:47 UTC
2
+++ doc/minirc.dfl
3
@@ -1,2 +1,7 @@
4
 # $Id: minirc.dfl,v 1.1.1.1 2003-03-30 18:55:39 al-guest Exp $
5
 # Machine-generated file - use "minicom -s" to change parameters.
6
+pr port             /dev/cuau0
7
+pu baudrate         9600
8
+pu bits             8
9
+pu parity           N
10
+pu minit            
(-)files/patch-minirc.dfl (-10 lines)
Lines 1-10 Link Here
1
--- doc/minirc.dfl.orig	2009-12-12 16:47:47.000000000 +0100
2
+++ doc/minirc.dfl	2011-12-28 16:07:59.000000000 +0100
3
@@ -1,2 +1,7 @@
4
 # $Id: minirc.dfl,v 1.1.1.1 2003-03-30 18:55:39 al-guest Exp $
5
 # Machine-generated file - use "minicom -s" to change parameters.
6
+pr port             /dev/cuau0
7
+pu baudrate         9600
8
+pu bits             8
9
+pu parity           N
10
+pu minit            
(-)files/patch-src-minicom.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- src/minicom.h.orig	2011-09-30 09:57:22.000000000 +0200
1
--- src/minicom.h.orig	2013-12-08 10:26:03 UTC
2
+++ src/minicom.h	2011-12-28 16:12:54.000000000 +0100
2
+++ src/minicom.h
3
@@ -35,6 +35,7 @@
3
@@ -35,6 +35,7 @@
4
 
4
 
5
 #include <time.h>
5
 #include <time.h>
(-)files/patch-src-script.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- src/script.c.orig	2013-10-29 12:07:42.000000000 +0100
1
--- src/script.c.orig	2013-10-29 11:07:42 UTC
2
+++ src/script.c	2014-01-02 20:30:55.000000000 +0100
2
+++ src/script.c
3
@@ -32,6 +32,7 @@
3
@@ -32,6 +32,7 @@
4
 #include <config.h>
4
 #include <config.h>
5
 #endif
5
 #endif
(-)files/patch-src-updown.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- src/updown.c.orig	2013-12-08 11:25:06.000000000 +0100
1
--- src/updown.c.orig	2013-12-08 10:25:06 UTC
2
+++ src/updown.c	2014-01-02 20:30:33.000000000 +0100
2
+++ src/updown.c
3
@@ -298,7 +298,7 @@ void updown(int what, int nr)
3
@@ -298,7 +298,7 @@ void updown(int what, int nr)
4
     do_log("%s", cmdline);   /* jl 22.06.97 */
4
     do_log("%s", cmdline);   /* jl 22.06.97 */
5
 
5
 
(-)files/patch-src-window.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- src/window.c.orig	2010-12-12 14:56:25.000000000 +0100
1
--- src/window.c.orig	2010-12-12 13:56:25 UTC
2
+++ src/window.c	2011-12-28 16:07:59.000000000 +0100
2
+++ src/window.c
3
@@ -66,6 +66,7 @@ static const char *CE, *Al, *Dl, *AL, *D
3
@@ -66,6 +66,7 @@ static const char *CE, *Al, *Dl, *AL, *DL;
4
 static const char *CS, *SF, *SR, *VB, *BL;
4
 static const char *CS, *SF, *SR, *VB, *BL;
5
 static const char *VE, *VI, *KS, *KE;
5
 static const char *VE, *VI, *KS, *KE;
6
 static const char *CD, *CL, *IC, *DC;
6
 static const char *CD, *CL, *IC, *DC;
(-)files/patch-src_sysdep1.c (+55 lines)
Line 0 Link Here
1
--- src/sysdep1.c.orig	2009-12-12 15:47:47 UTC
2
+++ src/sysdep1.c
3
@@ -65,13 +65,13 @@ static void m_setrts(int fd)
4
   if (portfd_is_socket)
5
     return;
6
 #endif
7
-#if defined(TIOCM_RTS) && defined(TIOCMODG)
8
+#if defined(TIOCM_RTS) && defined(TIOCMGET)
9
   {
10
     int mcs=0;
11
 
12
-    ioctl(fd, TIOCMODG, &mcs);
13
+    ioctl(fd, TIOCMGET, &mcs);
14
     mcs |= TIOCM_RTS;
15
-    ioctl(fd, TIOCMODS, &mcs);
16
+    ioctl(fd, TIOCMSET, &mcs);
17
   }
18
 #endif
19
 }
20
@@ -180,11 +180,11 @@ int m_getdcd(int fd)
21
     return portfd_is_connected;
22
   }
23
 #endif
24
-#ifdef TIOCMODG
25
+#ifdef TIOCMODGET
26
   {
27
     int mcs = 0;
28
 
29
-    if (ioctl(fd, TIOCMODG, &mcs) < 0)
30
+    if (ioctl(fd, TIOCMODGET, &mcs) < 0)
31
       return -1;
32
     return mcs & TIOCM_CAR ? 1 : 0;
33
   }
34
@@ -227,8 +227,8 @@ void m_savestate(int fd)
35
   ioctl(fd, TIOCLGET, &lsw);
36
 #  endif
37
 #endif
38
-#ifdef TIOCMODG
39
-  ioctl(fd, TIOCMODG, &m_word);
40
+#ifdef TIOCMGET
41
+  ioctl(fd, TIOCMGET, &m_word);
42
 #endif
43
 }
44
 
45
@@ -252,8 +252,8 @@ void m_restorestate(int fd)
46
   ioctl(fd, TIOCLSET, &lsw);
47
 #  endif
48
 #endif
49
-#ifdef TIOCMODS
50
-  ioctl(fd, TIOCMODS, &m_word);
51
+#ifdef TIOCMSET
52
+  ioctl(fd, TIOCMSET, &m_word);
53
 #endif
54
 }
55
 
(-)files/patch-sysdep1.c (-55 lines)
Lines 1-55 Link Here
1
--- src/sysdep1.c.orig	2009-12-12 16:47:47.000000000 +0100
2
+++ src/sysdep1.c	2011-12-28 16:07:59.000000000 +0100
3
@@ -65,13 +65,13 @@ static void m_setrts(int fd)
4
   if (portfd_is_socket)
5
     return;
6
 #endif
7
-#if defined(TIOCM_RTS) && defined(TIOCMODG)
8
+#if defined(TIOCM_RTS) && defined(TIOCMGET)
9
   {
10
     int mcs=0;
11
 
12
-    ioctl(fd, TIOCMODG, &mcs);
13
+    ioctl(fd, TIOCMGET, &mcs);
14
     mcs |= TIOCM_RTS;
15
-    ioctl(fd, TIOCMODS, &mcs);
16
+    ioctl(fd, TIOCMSET, &mcs);
17
   }
18
 #endif
19
 }
20
@@ -180,11 +180,11 @@ int m_getdcd(int fd)
21
     return portfd_is_connected;
22
   }
23
 #endif
24
-#ifdef TIOCMODG
25
+#ifdef TIOCMODGET
26
   {
27
     int mcs = 0;
28
 
29
-    if (ioctl(fd, TIOCMODG, &mcs) < 0)
30
+    if (ioctl(fd, TIOCMODGET, &mcs) < 0)
31
       return -1;
32
     return mcs & TIOCM_CAR ? 1 : 0;
33
   }
34
@@ -227,8 +227,8 @@ void m_savestate(int fd)
35
   ioctl(fd, TIOCLGET, &lsw);
36
 #  endif
37
 #endif
38
-#ifdef TIOCMODG
39
-  ioctl(fd, TIOCMODG, &m_word);
40
+#ifdef TIOCMGET
41
+  ioctl(fd, TIOCMGET, &m_word);
42
 #endif
43
 }
44
 
45
@@ -252,8 +252,8 @@ void m_restorestate(int fd)
46
   ioctl(fd, TIOCLSET, &lsw);
47
 #  endif
48
 #endif
49
-#ifdef TIOCMODS
50
-  ioctl(fd, TIOCMODS, &m_word);
51
+#ifdef TIOCMSET
52
+  ioctl(fd, TIOCMSET, &m_word);
53
 #endif
54
 }
55
 
(-)pkg-plist (-7 / +1 lines)
Lines 1-10 Link Here
1
@owner uucp
1
@(uucp,dialer,555) bin/minicom
2
@group dialer
3
@mode 4511
4
bin/minicom
5
@owner
6
@group
7
@mode
8
bin/xminicom
2
bin/xminicom
9
bin/runscript
3
bin/runscript
10
bin/ascii-xfr
4
bin/ascii-xfr

Return to bug 230753