mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/java-rxtx to 2.2pre2-6.1
This commit is contained in:
parent
5acfe751bb
commit
56c8461eeb
2 changed files with 19 additions and 3 deletions
|
@ -4,11 +4,12 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - (make)depend on java-runtime and -environmennt >=8 (fails to build with 7)
|
||||
# - patch from debian to fix build on ARM
|
||||
# - patch from Fedora to fix undefined symbol error
|
||||
|
||||
pkgname=java-rxtx
|
||||
_pkgname=rxtx
|
||||
pkgver=2.2pre2
|
||||
pkgrel=6
|
||||
pkgrel=6.1
|
||||
pkgdesc="Java library for serial IO"
|
||||
arch=('x86_64')
|
||||
url="http://rxtx.qbang.org/"
|
||||
|
@ -24,14 +25,16 @@ source=(http://rxtx.qbang.org/pub/$_pkgname/$_pkgname-$pkgver.zip
|
|||
rxtx-2.2-fhs_lock.patch
|
||||
ttyACM_port.patch
|
||||
java10.patch
|
||||
rxtx-sys_io_h_check.patch)
|
||||
rxtx-sys_io_h_check.patch
|
||||
rxtx-2.2-minor.patch)
|
||||
md5sums=('7eedb18e3f33a427e2b0e9be8ce3f94c'
|
||||
'2f21ec5eb108f871815242698b6150f1'
|
||||
'1f7c43d582bfe9daea22d7f7057436da'
|
||||
'f4d22d263f45cd1d4db6242dd0ac78ae'
|
||||
'903a3fe0067d0682dd5f64483c741df6'
|
||||
'683dd95e6e419b2b63851c08ede7ca86'
|
||||
'6fa4482df20625f652ecad818e92614a')
|
||||
'6fa4482df20625f652ecad818e92614a'
|
||||
'5d2a20641b82e46b31330267d1a5c19b')
|
||||
|
||||
prepare() {
|
||||
cd $_pkgname-$pkgver
|
||||
|
@ -54,6 +57,9 @@ prepare() {
|
|||
# Fix ARM build
|
||||
patch -Np1 -i ../rxtx-sys_io_h_check.patch
|
||||
|
||||
# Fix undefined symbol error
|
||||
patch -Np1 -i ../rxtx-2.2-minor.patch
|
||||
|
||||
rm *.m4
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
10
community/java-rxtx/rxtx-2.2-minor.patch
Normal file
10
community/java-rxtx/rxtx-2.2-minor.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- rxtx-20100211.orig/src/SerialImp.c 2018-11-04 13:02:53.306800091 +0100
|
||||
+++ rxtx-20100211.new/src/SerialImp.c 2018-11-04 13:01:39.495497644 +0100
|
||||
@@ -148,6 +148,7 @@
|
||||
#endif /* LIBLOCKDEV */
|
||||
|
||||
extern int errno;
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#include "SerialImp.h"
|
||||
|
Loading…
Reference in a new issue