[libnet-freedb-perl] 01/03: Add patch to fix the FTBFS on kFreeBSD-*

Daniel Lintott dlintott-guest at moszumanska.debian.org
Fri May 30 10:26:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

dlintott-guest pushed a commit to branch master
in repository libnet-freedb-perl.

commit 435017a107ea1236b2ceb94ade418c92a8934bd6
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Fri May 30 11:18:01 2014 +0100

    Add patch to fix the FTBFS on kFreeBSD-*
    
    Closes: #625841
---
 debian/patches/fix_FTBFS_on_kFreeBSD.patch | 21 +++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/fix_FTBFS_on_kFreeBSD.patch b/debian/patches/fix_FTBFS_on_kFreeBSD.patch
new file mode 100644
index 0000000..c795604
--- /dev/null
+++ b/debian/patches/fix_FTBFS_on_kFreeBSD.patch
@@ -0,0 +1,21 @@
+Description: Fix FTBFS on Debian kFreeBSD-*
+Author: Daniel Lintott <daniel at serverb.co.uk>
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/625841
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=96077
+Last-Update: 2014-05-30
+--- a/lib/discid.h
++++ b/lib/discid.h
+@@ -37,10 +37,10 @@
+ #include "linux.h"
+ #endif //__linux__
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ #include <sys/cdio.h>
+ #include "freebsd.h"
+-#endif // __FreeBSD__
++#endif // __FreeBSD__ || __FreeBSD_kernel__
+ 
+ #ifdef WIN32
+ #include "win32.h"
diff --git a/debian/patches/series b/debian/patches/series
index 83886af..c1c37cf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix_FTBFS_on_kFreeBSD.patch
 no_internet.patch
 fix-pod.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-freedb-perl.git



More information about the Pkg-perl-cvs-commits mailing list