minicom: added gcc4 patch

This commit is contained in:
Simone Rota 2006-03-26 00:27:52 +00:00
parent 4f33888a5d
commit 894455bd33
3 changed files with 18 additions and 3 deletions

View File

@ -1 +1,2 @@
e1a7644e6acfcf2a67f65c032167bcf6 minicom-2.1-gcc4.patch
1c8f3b247c38fb16c3c2170df9fc102a minicom-2.1.tar.gz

View File

@ -1,16 +1,18 @@
# Description: A menu driven communications program
# URL: http://alioth.debian.org/projects/minicom/
# Maintainer: Simone Rota, sip at varlock dot com
# Maintainer: Simone Rota, sip at crux dot nu
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on:
name=minicom
version=2.1
release=1
source=(http://alioth.debian.org/download.php/123/minicom-$version.tar.gz)
release=2
source=(http://alioth.debian.org/download.php/123/minicom-$version.tar.gz \
$name-$version-gcc4.patch)
build() {
cd $name-$version
patch -p1 < ../$name-$version-gcc4.patch
./configure --prefix=/usr --disable-nls
make
make DESTDIR=$PKG install

View File

@ -0,0 +1,12 @@
diff -ur minicom-2.1-orig/src/window.c minicom-2.1/src/window.c
--- minicom-2.1-orig/src/window.c 2005-05-28 19:59:42.000000000 -0400
+++ minicom-2.1/src/window.c 2005-05-28 20:00:22.000000000 -0400
@@ -62,7 +62,7 @@
static char *CS, *SF, *SR, *VB, *BL;
static char *VE, *VI, *KS, *KE;
static char *CD, *CL, *IC, *DC;
-static char *BC, *CR, *NL;
+static char *CR, *NL;
#if ST_LINE
static char *TS, *FS, *DS;
#endif