mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-java/rxtx: added missing include + scrubbed patches
Closes: https://bugs.gentoo.org/927898 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -16,10 +16,6 @@ https://salsa.debian.org/java-team/rxtx/-/blob/6500bd55f265de7d2dfef68dc1df5d8b9
|
||||
|
||||
Bug: https://bugs.gentoo.org/831394
|
||||
|
||||
---
|
||||
Description: Fixes the build failure with Java 10
|
||||
Author: Emmanuel Bourg <ebourg@apache.org>
|
||||
Forwarded: no
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -111,11 +111,6 @@
|
||||
|
||||
@@ -5,12 +5,6 @@ Subject: [PATCH] Fix invalid Javadoc syntax that leads to errors
|
||||
|
||||
Bug: https://bugs.gentoo.org/642030
|
||||
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
|
||||
---
|
||||
src/gnu/io/RXTXPort.java | 50 ++++++++++++++++++++++------------------
|
||||
1 file changed, 27 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/src/gnu/io/RXTXPort.java b/src/gnu/io/RXTXPort.java
|
||||
index 622a6a8..77a23ea 100644
|
||||
--- a/src/gnu/io/RXTXPort.java
|
||||
+++ b/src/gnu/io/RXTXPort.java
|
||||
@@ -1732,7 +1732,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
|
||||
|
||||
@@ -4,11 +4,6 @@ https://salsa.debian.org/java-team/rxtx/-/blob/6500bd55f265de7d2dfef68dc1df5d8b9
|
||||
|
||||
Bug: https://bugs.gentoo.org/550534
|
||||
|
||||
---
|
||||
From: tony mancill <tmancill@debian.org>
|
||||
Forwarded: no
|
||||
Description: use format specifiers in fprintf statements for hardening flags
|
||||
|
||||
--- a/src/SerialImp.c
|
||||
+++ b/src/SerialImp.c
|
||||
@@ -5108,7 +5108,7 @@
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- src/lfd/lockdaemon.c.orig 2007-04-26 06:26:07.000000000 +0100
|
||||
+++ src/lfd/lockdaemon.c 2016-02-17 20:41:09.137509089 +0000
|
||||
--- src/lfd/lockdaemon.c.orig
|
||||
+++ src/lfd/lockdaemon.c
|
||||
@@ -69,6 +69,7 @@
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
10
dev-java/rxtx/files/rxtx-2.2_pre2-missing-include.patch
Normal file
10
dev-java/rxtx/files/rxtx-2.2_pre2-missing-include.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/src/SerialImp.c
|
||||
+++ b/src/SerialImp.c
|
||||
@@ -146,6 +146,7 @@
|
||||
#ifdef LIBLOCKDEV
|
||||
#include <lockdev.h>
|
||||
#endif /* LIBLOCKDEV */
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
extern int errno;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -46,6 +46,7 @@ src_prepare() {
|
||||
eapply "${FILESDIR}/${P}-format-security.patch"
|
||||
eapply "${FILESDIR}/${P}-fix-invalid-javadoc.patch"
|
||||
eapply "${FILESDIR}/${P}-fix-for-java-10+.patch"
|
||||
eapply "${FILESDIR}/${P}-missing-include.patch"
|
||||
eapply_user
|
||||
|
||||
rm acinclude.m4 || die
|
||||
|
||||
Reference in New Issue
Block a user