summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2019-12-26 15:52:48 -0500
committerChris Severance2019-12-26 15:52:48 -0500
commit2edf29592b95a4d8a6871f541904092430fea970 (patch)
tree929255d36795d1fdd8db24a7a696db245a80b62d
parent0c1ca52965b9cf208d6baf3a035a2834749ae575 (diff)
downloadaur-moxa-mxser-mxupcie.tar.gz
autu: Update to 1.16-3
-rw-r--r--.SRCINFO6
-rw-r--r--0000-mxser-utilities-warnings.patch4
-rw-r--r--PKGBUILD9
3 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 218362c704cd..d4cb8c19d9cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Apr 8 00:37:20 UTC 2019
+# Thu Dec 26 20:52:48 UTC 2019
pkgbase = moxa-mxser-mxupcie
pkgdesc = kernel module driver for Moxa Smartio Industio MUE ISA PCIe UPCI PCI Express CP multi port serial RS-232 422 485
pkgver = 1.16
- pkgrel = 2
+ pkgrel = 3
url = https://www.moxa.com/product/PCIe_UPCI_PCI.htm
install = moxa-mxser-mxupcie-install.sh
arch = i686
@@ -21,7 +21,7 @@ pkgbase = moxa-mxser-mxupcie
source = 0001-mxser-kernel-4.12-IRQF_DISABLED.patch
source = 0003-kernel-5.0.0-access_ok.patch
sha256sums = 445f452eb7f56b70ef1b9795421556fb28284a90cde8746e5895316d5c67899f
- sha256sums = a22021474be03194faba5e30b0bea15128a83e1eae05d602865a4cdc38309272
+ sha256sums = 4988d6cc1c779c1e30f659896e9e25beaedb4a473d4f2f09a81bbef5d2ccb276
sha256sums = 7357da2ada66681705b2c6806fa3fe910ddd198e531d851bd0a97b548de4bbb3
sha256sums = ba1a55fa48f93f3a309bec5783d7deb5f728798ae39f28301d19384b5444113e
diff --git a/0000-mxser-utilities-warnings.patch b/0000-mxser-utilities-warnings.patch
index cc192f5e0376..9a9de43892f3 100644
--- a/0000-mxser-utilities-warnings.patch
+++ b/0000-mxser-utilities-warnings.patch
@@ -7,7 +7,7 @@ diff -pNaru5 src.old/mxser/utility/conf/conftool.c src/mxser/utility/conf/confto
#include <fcntl.h>
#include <getopt.h>
#include <unistd.h>
-+#include <stropts.h>
++#include <sys/ioctl.h>
#include <errno.h>
#include "cpld_param.h"
#include <termios.h>
@@ -23,7 +23,7 @@ diff -pNaru5 src.old/mxser/utility/diag/diag.c src/mxser/utility/diag/diag.c
#include <stdio.h>
+#include <unistd.h>
-+#include <stropts.h>
++#include <sys/ioctl.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/PKGBUILD b/PKGBUILD
index f62269dfd2f6..7ae38d667058 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,7 +42,7 @@ _origmodname='8250_moxa'
pkgname='moxa-mxser-mxupcie'
pkgver='1.16'; _build='14030317'
-pkgrel='2'
+pkgrel='3'
pkgdesc='kernel module driver for Moxa Smartio Industio MUE ISA PCIe UPCI PCI Express CP multi port serial RS-232 422 485'
arch=('i686' 'x86_64')
url='https://www.moxa.com/product/PCIe_UPCI_PCI.htm'
@@ -60,7 +60,7 @@ source=(
'0003-kernel-5.0.0-access_ok.patch'
)
sha256sums=('445f452eb7f56b70ef1b9795421556fb28284a90cde8746e5895316d5c67899f'
- 'a22021474be03194faba5e30b0bea15128a83e1eae05d602865a4cdc38309272'
+ '4988d6cc1c779c1e30f659896e9e25beaedb4a473d4f2f09a81bbef5d2ccb276'
'7357da2ada66681705b2c6806fa3fe910ddd198e531d851bd0a97b548de4bbb3'
'ba1a55fa48f93f3a309bec5783d7deb5f728798ae39f28301d19384b5444113e')
@@ -106,7 +106,7 @@ prepare() {
patch -Nbup0 -i "${srcdir}/0003-kernel-5.0.0-access_ok.patch"
# Make package compatible
- #cp -p driver/Makefile{,.Arch}
+ # cp -p driver/Makefile{,.Arch}
sed -e '# Fix path' \
-e 's:/lib/:/usr/lib/:g' \
-e '# Remove leading @ to prevent silent execution' \
@@ -128,7 +128,10 @@ prepare() {
-e '/^install/,/^$/ s:/usr/:"$(DESTDIR)"&:g' \
-e '# Disable depmod' \
-e 's:^\tdepmod:\ttrue depmod:g' \
+ -e '# Kernel 5.4 compatible' \
+ -e 's: SUBDIRS=\([^ ]\+\) : M=\1&:g ' \
-i 'driver/Makefile'
+ test ! -s driver/Makefile.Arch
set +u
}