summaryrefslogtreecommitdiff
path: root/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch')
-rw-r--r--dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch b/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch
new file mode 100644
index 000000000000..88db75b995c2
--- /dev/null
+++ b/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch
@@ -0,0 +1,14 @@
+diff --git a/Sound/Wav/Binary.hs b/Sound/Wav/Binary.hs
+index d2c539c..11883a3 100644
+--- a/Sound/Wav/Binary.hs
++++ b/Sound/Wav/Binary.hs
+@@ -1 +1,2 @@
++{-# LANGUAGE CPP #-}
+ -- | This module provides helper binary functions to get integer values from binary streams and put
+@@ -8,2 +9,3 @@ import Data.Int
+
++#if ! MIN_VERSION_binary(0,8,0)
+ getInt8 :: Get Int8
+@@ -31 +33,2 @@ putInt64le :: Int64 -> Put
+ putInt64le = putWord64le . fromIntegral
++#endif