[med-svn] [libhat-trie] 01/02: re-enable kFreeBSD support

Sascha Steinbiss satta at debian.org
Mon Jun 19 12:07:21 UTC 2017


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

satta pushed a commit to branch master
in repository libhat-trie.

commit de353d8fe1c1a0c8fa07ab3138f37ca315bc4e91
Author: Sascha Steinbiss <satta at debian.org>
Date:   Mon Jun 19 14:01:48 2017 +0200

    re-enable kFreeBSD support
---
 debian/control                    |  4 ++--
 debian/patches/fix-kfreebsd.patch | 13 +++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 7c744fa..386b044 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Vcs-Git: https://anonscm.debian.org/git/debian-med/libhat-trie.git
 Homepage: https://github.com/dcjones/hat-trie
 
 Package: libhat-trie0
-Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el sh4
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el sh4 kfreebsd-amd64 kfreebsd-i386
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
@@ -28,7 +28,7 @@ Description: HAT-trie, an extremely efficient (space and time) modern variant of
 
 Package: libhat-trie-dev
 Provides: libhat-trie-dev
-Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el sh4
+Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el sh4 kfreebsd-amd64 kfreebsd-i386
 Multi-Arch: same
 Section: libdevel
 Depends: ${shlibs:Depends},
diff --git a/debian/patches/fix-kfreebsd.patch b/debian/patches/fix-kfreebsd.patch
new file mode 100644
index 0000000..35539e7
--- /dev/null
+++ b/debian/patches/fix-kfreebsd.patch
@@ -0,0 +1,13 @@
+Description: fix building on kFreeBSD
+Author: Sascha Steinbiss <satta at debian.org>
+--- a/src/portable_endian.h
++++ b/src/portable_endian.h
+@@ -39,7 +39,7 @@
+ # define __LITTLE_ENDIAN LITTLE_ENDIAN
+ # define __PDP_ENDIAN    PDP_ENDIAN
+ 
+-#elif defined(__OpenBSD__)
++#elif defined(__OpenBSD__) || defined(__FreeBSD_kernel__)
+ 
+ # include <sys/endian.h>
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 038ee28..402847e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 reproducible.patch
+fix-kfreebsd.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libhat-trie.git



More information about the debian-med-commit mailing list