diff --git a/minicom/.md5sum b/minicom/.md5sum index 2427b48fa..4764642c1 100644 --- a/minicom/.md5sum +++ b/minicom/.md5sum @@ -1 +1,2 @@ +e1a7644e6acfcf2a67f65c032167bcf6 minicom-2.1-gcc4.patch 1c8f3b247c38fb16c3c2170df9fc102a minicom-2.1.tar.gz diff --git a/minicom/Pkgfile b/minicom/Pkgfile index 3e52d3579..9452c0b55 100644 --- a/minicom/Pkgfile +++ b/minicom/Pkgfile @@ -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 diff --git a/minicom/minicom-2.1-gcc4.patch b/minicom/minicom-2.1-gcc4.patch new file mode 100644 index 000000000..b85238859 --- /dev/null +++ b/minicom/minicom-2.1-gcc4.patch @@ -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