You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/wavy/files/wavy-0.1.0.0-binary-0.8.patch

15 lines
454 B

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