From 271405e58d361c777df9389baa57ad32a0399d4e Mon Sep 17 00:00:00 2001 From: Emil Tomczyk Date: Thu, 2 Sep 2021 00:39:08 +0200 Subject: [PATCH] New package: ax25-apps-0.0.8rc5 --- srcpkgs/ax25-apps/patches/musl.patch | 40 +++++++++++++++++++++++++ srcpkgs/ax25-apps/patches/ncurses.patch | 11 +++++++ srcpkgs/ax25-apps/template | 13 ++++++++ 3 files changed, 64 insertions(+) create mode 100644 srcpkgs/ax25-apps/patches/musl.patch create mode 100644 srcpkgs/ax25-apps/patches/ncurses.patch create mode 100644 srcpkgs/ax25-apps/template diff --git a/srcpkgs/ax25-apps/patches/musl.patch b/srcpkgs/ax25-apps/patches/musl.patch new file mode 100644 index 000000000000..e08e1fbc803d --- /dev/null +++ b/srcpkgs/ax25-apps/patches/musl.patch @@ -0,0 +1,40 @@ +*** a/ax25ipd/io.c 2019-03-20 17:48:59.000000000 +0100 +--- b/ax25ipd/io.c 2021-09-02 00:32:05.815175217 +0200 +*************** +*** 21,23 **** + #include +! #include + #include +--- 21,24 ---- + #include +! #include +! #include + #include +*************** +*** 34,36 **** + +! static struct termio nterm; + +--- 35,37 ---- + +! static struct termios nterm; + +*** a/call/call.h 2019-03-20 17:48:59.000000000 +0100 +--- b/call/call.h 2021-09-02 00:36:47.367157222 +0200 +*************** +*** 6,7 **** +--- 6,13 ---- + #endif ++ ++ #ifndef __CALL_H ++ #define __CALL_H ++ ++ #include ++ + extern int fd; +*************** extern int yapp2unix(char *); +*** 21 **** +--- 27,29 ---- + extern void unix2yapp(time_t unix_date, char *buffer); ++ ++ #endif diff --git a/srcpkgs/ax25-apps/patches/ncurses.patch b/srcpkgs/ax25-apps/patches/ncurses.patch new file mode 100644 index 000000000000..4cd9b2e26cb5 --- /dev/null +++ b/srcpkgs/ax25-apps/patches/ncurses.patch @@ -0,0 +1,11 @@ +*** a/call/call.c 2019-03-20 17:48:59.000000000 +0100 +--- b/call/call.c 2021-09-01 22:23:05.414188427 +0200 +*************** +*** 44,46 **** + #include +! #include + #include +--- 44,46 ---- + #include +! #include + #include diff --git a/srcpkgs/ax25-apps/template b/srcpkgs/ax25-apps/template new file mode 100644 index 000000000000..f142780096b9 --- /dev/null +++ b/srcpkgs/ax25-apps/template @@ -0,0 +1,13 @@ +# Template file for 'ax25-apps' +pkgname=ax25-apps +version=0.0.8rc5 +revision=1 +wrksrc="ax25-apps-${version/rc/-rc}" +build_style=gnu-configure +makedepends="zlib-devel libax25-devel ncurses-devel" +short_desc="Package with applications for AX.25" +maintainer="Emil Tomczyk " +license="GPL-2.0-only" +homepage="https://www.linux-ax25.org/wiki/Main_Page" +distfiles="https://www.linux-ax25.org/pub/ax25-apps/ax25-apps-0.0.8-rc5.tar.gz" +checksum=33340e232cb9b5b24a9a88ccae0b4e72c6904c526fb37aeab76854821a25cf96