summaryrefslogtreecommitdiffstats
path: root/recipes-extended/rxtx/files/port_to_hurd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/rxtx/files/port_to_hurd.patch')
-rw-r--r--recipes-extended/rxtx/files/port_to_hurd.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/files/port_to_hurd.patch b/recipes-extended/rxtx/files/port_to_hurd.patch
new file mode 100644
index 0000000..80ae705
--- /dev/null
+++ b/recipes-extended/rxtx/files/port_to_hurd.patch
@@ -0,0 +1,16 @@
1Description: Defines __GNU__ to use the FHS
2Author: Scott Howard <showard@debian.org>
3
4Index: rxtx/src/SerialImp.h
5===================================================================
6--- rxtx.orig/src/SerialImp.h 2011-02-23 23:26:14.955993397 -0500
7+++ rxtx/src/SerialImp.h 2011-02-23 23:26:52.684023837 -0500
8@@ -147,7 +147,7 @@
9 };
10
11 /* Ports known on the OS */
12-#if defined(__linux__) || defined(__FreeBSD_kernel__)
13+#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
14 /*
15 This is a small hack to get mark and space parity working on older systems
16 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=147533