[SCM] Packaging for rxtx branch, master, updated. debian/2.2pre2-11-1-gf83b75c

Scott Howard showard at debian.org
Wed Jun 6 15:38:10 UTC 2012


The following commit has been merged in the master branch:
commit f83b75cbfd1e3e9ac5d1445564340a6d34a22b1a
Author: Scott Howard <showard at debian.org>
Date:   Wed Jun 6 11:36:58 2012 -0400

    updated script for kfreebsd porting

diff --git a/debian/patches/kfreebsd_port.patch b/debian/patches/kfreebsd_port.patch
index b5fa172..b20725b 100644
--- a/debian/patches/kfreebsd_port.patch
+++ b/debian/patches/kfreebsd_port.patch
@@ -1,5 +1,11 @@
 Description: Defines FreeBSD for kFreeBSD systems, also makes sure kfreeBSD is set to use FHS
+
 #grep -r -H "__FreeBSD" . -m 1 --exclude=*.patch --exclude-dir=.git | cut -d: -f1 | xargs sed -i s/__FreeBSD__/__FreeBSD_kernel__/
+
+#grep -r -H "ifdef __linux__" . -m 1 --exclude=*.patch --exclude-dir=.git | cut -d: -f1 | xargs sed -i s/'#ifdef __linux__'/'#if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)'/
+
+#grep -r -H "ifndef __linux__" . -m 1 --exclude=*.patch --exclude-dir=.git | cut -d: -f1 | xargs sed -i s/'#ifndef __linux__'/'#if !defined(__linux__) && !defined(__GNU__) && !defined(__GLIBC__)'/
+
 Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585089
 Author: Scott Howard <showard at debian.org>
 

-- 
Packaging for rxtx



More information about the pkg-java-commits mailing list