]> git.pld-linux.org Git - packages/amtterm.git/commitdiff
- rel 2 auto/th/amtterm-1_3-2
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 27 Apr 2012 19:00:08 +0000 (19:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- hack around lost conections during system reset/bootup

Changed files:
    amtterm-reconnect-hack.patch -> 1.1
    amtterm.spec -> 1.2

amtterm-reconnect-hack.patch [new file with mode: 0644]
amtterm.spec

diff --git a/amtterm-reconnect-hack.patch b/amtterm-reconnect-hack.patch
new file mode 100644 (file)
index 0000000..da103d6
--- /dev/null
@@ -0,0 +1,18 @@
+diff -ur amtterm-1.3/redir.c amtterm-1.3.ne/redir.c
+--- amtterm-1.3/redir.c        2011-05-26 11:19:45.000000000 +0200
++++ amtterm-1.3.ne/redir.c     2012-04-17 11:40:56.000000000 +0200
+@@ -382,6 +382,14 @@
+               goto again;
+           redir_stop(r);
+           break;
++      case 0x29: /* FIXME */
++          bshift = r->blen;
++          if (r->blen < bshift)
++              goto again;
++          redir_stop(r);
++          redir_connect(r);
++          redir_start(r);
++          break;
+       default:
+           snprintf(r->err, sizeof(r->err), "%s: unknown r->buf 0x%02x",
+                    __FUNCTION__, r->buf[0]);
index 75aca1f14069e56633b63645f424f591627bdee4..b00782eb9e1758ee523fdf49235705bd723de1d5 100644 (file)
@@ -2,11 +2,12 @@
 Summary:       Intel AMT serial-over-lan (sol) client
 Name:          amtterm
 Version:       1.3
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Applications/Networking
 Source0:       http://www.kraxel.org/releases/amtterm/%{name}-%{version}.tar.gz
 # Source0-md5: a2385b2305680ae06687867527924ff5
+Patch0:                amtterm-reconnect-hack.patch
 URL:           http://www.kraxel.org/blog/linux/amtterm/
 BuildRequires: gtk+2-devel
 BuildRequires: pkg-config
@@ -30,6 +31,7 @@ This package contains graphical (gtk) version.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 prefix=%{_prefix} \
This page took 0.318864 seconds and 4 git commands to generate.