Date: Sunday, July 5, 2020 @ 23:24:41 Author: foxboron Revision: 657942
archrelease: copy trunk to community-x86_64 Added: minicom/repos/community-x86_64/PKGBUILD (from rev 657941, minicom/trunk/PKGBUILD) minicom/repos/community-x86_64/minicom-2.7.1-gcc-10.patch (from rev 657941, minicom/trunk/minicom-2.7.1-gcc-10.patch) Deleted: minicom/repos/community-x86_64/PKGBUILD ----------------------------+ PKGBUILD | 73 +++++++++++++++++++++++-------------------- minicom-2.7.1-gcc-10.patch | 31 ++++++++++++++++++ 2 files changed, 71 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-05 23:24:32 UTC (rev 657941) +++ PKGBUILD 2020-07-05 23:24:41 UTC (rev 657942) @@ -1,33 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: dorphell <dorph...@archlinux.org> -# Contributor: Tom Newsom <jeeps...@gmx.co.uk> -# Contributor: Denis Tikhomirov <dvtikhomi...@gmail.com> - -pkgname=minicom -pkgver=2.7.1 -pkgrel=3 -pkgdesc="A serial communication program" -arch=('x86_64') -url="http://alioth.debian.org/projects/minicom/" -license=('GPL') -depends=('bash') -optdepends=('lrzsz: for xmodem, ymodem and zmodem file transfer protocols') -backup=('etc/minirc.dfl') -source=("${pkgname}-${pkgver}.tar.gz::http://ftp.debian.org/debian/pool/main/m/minicom/minicom_${pkgver}.orig.tar.gz") -sha256sums=('532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1') - -build() { - cd "${pkgname}-${pkgver}" - - ./configure --prefix=/usr \ - --sysconfdir=/etc - make -} - -package() { - cd "${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}/" install - install -Dm644 doc/minirc.dfl ${pkgdir}/etc/minirc.dfl -} Copied: minicom/repos/community-x86_64/PKGBUILD (from rev 657941, minicom/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-05 23:24:41 UTC (rev 657942) @@ -0,0 +1,40 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: dorphell <dorph...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> +# Contributor: Denis Tikhomirov <dvtikhomi...@gmail.com> + +pkgname=minicom +pkgver=2.7.1 +pkgrel=4 +pkgdesc="A serial communication program" +arch=('x86_64') +url="http://alioth.debian.org/projects/minicom/" +license=('GPL') +depends=('bash') +optdepends=('lrzsz: for xmodem, ymodem and zmodem file transfer protocols') +backup=('etc/minirc.dfl') +source=("${pkgname}-${pkgver}.tar.gz::http://ftp.debian.org/debian/pool/main/m/minicom/minicom_${pkgver}.orig.tar.gz" + "minicom-2.7.1-gcc-10.patch") +sha256sums=('532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1' + 'b7d8eab87a919feb6d519c06c70145624a6560208e8c79da3a2ed2c2e086def3') + +prepare(){ + cd "${pkgname}-${pkgver}" + patch -Np1 < "$srcdir/minicom-2.7.1-gcc-10.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install + install -Dm644 doc/minirc.dfl ${pkgdir}/etc/minirc.dfl +} Copied: minicom/repos/community-x86_64/minicom-2.7.1-gcc-10.patch (from rev 657941, minicom/trunk/minicom-2.7.1-gcc-10.patch) =================================================================== --- minicom-2.7.1-gcc-10.patch (rev 0) +++ minicom-2.7.1-gcc-10.patch 2020-07-05 23:24:41 UTC (rev 657942) @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/705836 +--- a/src/minicom.h ++++ b/src/minicom.h +@@ -109,13 +109,13 @@ EXTERN char *dial_tty; /* tty to use. */ + + EXTERN char *dial_name; /* System we're conneced to */ + EXTERN char *dial_number; /* Number we've dialed. */ +-EXTERN char *dial_user; /* Our username there */ +-EXTERN char *dial_pass; /* Our password */ ++extern char *dial_user; /* Our username there */ ++extern char *dial_pass; /* Our password */ + + #ifdef USE_SOCKET +-EXTERN int portfd_is_socket; /* File descriptor is a unix socket */ +-EXTERN int portfd_is_connected; /* 1 if the socket is connected */ +-EXTERN struct sockaddr_un portfd_sock_addr; /* the unix socket address */ ++extern int portfd_is_socket; /* File descriptor is a unix socket */ ++extern int portfd_is_connected; /* 1 if the socket is connected */ ++extern struct sockaddr_un portfd_sock_addr; /* the unix socket address */ + #define portfd_connected ((portfd_is_socket && !portfd_is_connected) \ + ? -1 : portfd) + #else +@@ -141,7 +141,7 @@ EXTERN int sbcolor; /* Status Bar Background Color */ + EXTERN int st_attr; /* Status Bar attributes. */ + + /* jl 04.09.97 conversion tables */ +-EXTERN unsigned char vt_outmap[256], vt_inmap[256]; ++extern unsigned char vt_outmap[256], vt_inmap[256]; + + /* MARK updated 02/17/95 - history buffer */ + EXTERN int num_hist_lines; /* History buffer size */