[Pkg-haskell-commits] [SCM] branch, master, updated. debian/0.2.0.1-1-1-g4425a39
Joey Hess
joeyh at debian.org
Thu Oct 11 19:48:32 UTC 2012
The following commit has been merged in the master branch:
commit 4425a391befc2c9634e261d035694ee29cced94f
Author: Joey Hess <joeyh at debian.org>
Date: Thu Oct 11 15:47:59 2012 -0400
releasing version 0.2.0.1-2
diff --git a/debian/changelog b/debian/changelog
index db4f124..3f15c02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+haskell-network-info (0.2.0.1-2) unstable; urgency=low
+
+ * Enable building on freebsd.
+
+ -- Joey Hess <joeyh at debian.org> Thu, 11 Oct 2012 15:42:12 -0400
+
haskell-network-info (0.2.0.1-1) unstable; urgency=low
* Initial release. Closes: #686989
diff --git a/debian/patches/freebsd b/debian/patches/freebsd
new file mode 100644
index 0000000..a1b74c3
--- /dev/null
+++ b/debian/patches/freebsd
@@ -0,0 +1,18 @@
+Description: enable building on freebsd
+ The OSX code is generic enough to work, it just needed to be enabled.
+ Tested on kfreebsd-amd64 and it works ok.
+Author: Joey Hess <joeyh at debian.org>
+
+---
+
+--- haskell-network-info-0.2.0.1.orig/network-info.cabal
++++ haskell-network-info-0.2.0.1/network-info.cabal
+@@ -40,7 +40,7 @@ Library
+ build-depends:
+ base == 4.*
+
+- if os(linux) || os(darwin)
++ if os(linux) || os(darwin) || os(freebsd)
+ c-sources: cbits/network-unix.c
+ else
+ if os(windows)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..edfe860
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+freebsd
diff --git a/network-info.cabal b/network-info.cabal
index 7e84c41..a54a81b 100644
--- a/network-info.cabal
+++ b/network-info.cabal
@@ -40,7 +40,7 @@ Library
build-depends:
base == 4.*
- if os(linux) || os(darwin)
+ if os(linux) || os(darwin) || os(freebsd)
c-sources: cbits/network-unix.c
else
if os(windows)
--
More information about the Pkg-haskell-commits
mailing list