1 |
commit: dc36a65f6542011652e8b1930a6ed65844e40d29 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 27 17:03:37 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 07:21:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc36a65f |
7 |
|
8 |
dev-haskell/network: remove unused patches |
9 |
|
10 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
11 |
|
12 |
.../files/network-2.2.0.0-eat-configure-opts.patch | 17 ------ |
13 |
.../network/files/network-2.3.0.14-ghc-7.5.patch | 69 ---------------------- |
14 |
.../network/files/network-2.4.0.1-fix-ppc64.patch | 39 ------------ |
15 |
3 files changed, 125 deletions(-) |
16 |
|
17 |
diff --git a/dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch b/dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch |
18 |
deleted file mode 100644 |
19 |
index 49c430d..0000000 |
20 |
--- a/dev-haskell/network/files/network-2.2.0.0-eat-configure-opts.patch |
21 |
+++ /dev/null |
22 |
@@ -1,17 +0,0 @@ |
23 |
-Make sure ./configure can eat --with-hc and --with-hc-pkg without giving QA |
24 |
-warnings. |
25 |
- |
26 |
-diff -rN -u old-network-2.2.0.0/configure.ac new-network-2.2.0.0/configure.ac |
27 |
---- old-network-2.2.0.0/configure.ac 2009-07-21 22:07:20.000000000 +0200 |
28 |
-+++ new-network-2.2.0.0/configure.ac 2009-07-21 22:07:20.000000000 +0200 |
29 |
-@@ -14,6 +14,10 @@ |
30 |
- |
31 |
- AC_C_CONST |
32 |
- |
33 |
-+dnl * dummy options to eat --with-hc= and --with-hc-pkg= flags |
34 |
-+AC_ARG_WITH([hc], [(dummy option)], []) |
35 |
-+AC_ARG_WITH([hc-pkg], [(dummy option)], []) |
36 |
-+ |
37 |
- dnl ** check for specific header (.h) files that we are interested in |
38 |
- AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h sys/types.h unistd.h winsock.h]) |
39 |
- AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h netinet/tcp.h sys/socket.h sys/uio.h sys/un.h]) |
40 |
|
41 |
diff --git a/dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch b/dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch |
42 |
deleted file mode 100644 |
43 |
index e6a0153..0000000 |
44 |
--- a/dev-haskell/network/files/network-2.3.0.14-ghc-7.5.patch |
45 |
+++ /dev/null |
46 |
@@ -1,69 +0,0 @@ |
47 |
---- network-2.3.0.14-orig/network.cabal 2012-06-04 10:25:39.000000000 +1000 |
48 |
-+++ network-2.3.0.14/network.cabal 2012-06-27 20:21:38.271566190 +1000 |
49 |
-@@ -39,7 +39,7 @@ |
50 |
- Network.Socket.ByteString.MsgHdr |
51 |
- |
52 |
- build-depends: |
53 |
-- base >= 3 && < 4.6, |
54 |
-+ base >= 3 && < 4.7, |
55 |
- bytestring < 1.0, |
56 |
- parsec >= 2.0 && < 3.2 |
57 |
- |
58 |
-@@ -62,11 +62,11 @@ |
59 |
- type: exitcode-stdio-1.0 |
60 |
- |
61 |
- build-depends: |
62 |
-- base < 4.6, |
63 |
-- bytestring < 0.10, |
64 |
-+ base < 4.7, |
65 |
-+ bytestring < 1.0, |
66 |
- HUnit < 1.3, |
67 |
- network, |
68 |
-- test-framework < 0.6, |
69 |
-+ test-framework < 0.7, |
70 |
- test-framework-hunit < 0.3 |
71 |
- |
72 |
- test-suite uri |
73 |
-@@ -75,10 +75,10 @@ |
74 |
- type: exitcode-stdio-1.0 |
75 |
- |
76 |
- build-depends: |
77 |
-- base < 4.6, |
78 |
-+ base < 4.7, |
79 |
- HUnit < 1.3, |
80 |
- network, |
81 |
-- test-framework < 0.6, |
82 |
-+ test-framework < 0.7, |
83 |
- test-framework-hunit < 0.3 |
84 |
- |
85 |
- source-repository head |
86 |
---- network-2.3.0.14-orig/Network/BSD.hsc 2012-06-04 10:25:39.000000000 +1000 |
87 |
-+++ network-2.3.0.14/Network/BSD.hsc 2012-06-28 18:07:39.287001755 +1000 |
88 |
-@@ -112,7 +112,9 @@ |
89 |
- import Foreign.Marshal.Array (allocaArray0, peekArray0) |
90 |
- import Foreign.Marshal.Utils (with, fromBool) |
91 |
- import Data.Typeable |
92 |
-+#if !MIN_VERSION_base(4,6,0) |
93 |
- import Prelude hiding (catch) |
94 |
-+#endif |
95 |
- import System.IO.Error (ioeSetErrorString, mkIOError) |
96 |
- import System.IO.Unsafe (unsafePerformIO) |
97 |
- |
98 |
---- network-2.3.0.14-orig/tests/Simple.hs 2012-06-04 10:25:39.000000000 +1000 |
99 |
-+++ network-2.3.0.14/tests/Simple.hs 2012-06-28 18:18:31.176027682 +1000 |
100 |
-@@ -1,4 +1,4 @@ |
101 |
--{-# LANGUAGE ScopedTypeVariables #-} |
102 |
-+{-# LANGUAGE CPP, ScopedTypeVariables #-} |
103 |
- {-# OPTIONS_GHC -fno-warn-unused-do-bind #-} |
104 |
- |
105 |
- module Main where |
106 |
-@@ -10,7 +10,9 @@ |
107 |
- import qualified Data.ByteString.Char8 as C |
108 |
- import Network.Socket hiding (recv, recvFrom, send, sendTo) |
109 |
- import Network.Socket.ByteString |
110 |
-+#if !MIN_VERSION_base(4,6,0) |
111 |
- import Prelude hiding (catch) |
112 |
-+#endif |
113 |
- import Test.Framework (Test, defaultMain, testGroup) |
114 |
- import Test.Framework.Providers.HUnit (testCase) |
115 |
- import Test.HUnit (Assertion, (@=?)) |
116 |
|
117 |
diff --git a/dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch b/dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch |
118 |
deleted file mode 100644 |
119 |
index e891831..0000000 |
120 |
--- a/dev-haskell/network/files/network-2.4.0.1-fix-ppc64.patch |
121 |
+++ /dev/null |
122 |
@@ -1,39 +0,0 @@ |
123 |
-commit 6bc6b666ba2a87001a825bd81088062307a51bae |
124 |
-Author: Sergei Trofimovich <slyfox@g.o> |
125 |
-Date: Sun Jan 13 23:50:21 2013 +0300 |
126 |
- |
127 |
- MsgHdr.hsc: fix field 'struct msghdr::msg_namelen' size |
128 |
- |
129 |
- msg_namelen has a 'socklen_t' type on linux (always 32 bits). |
130 |
- Using CSize there breaks 64-bit BE platforms. |
131 |
- |
132 |
- testSendManyTo: [Failed] |
133 |
- ERROR: sendmsg: invalid argument (Destination address required) |
134 |
- |
135 |
- Caught by testSendManyTo test on ppc64: |
136 |
- |
137 |
- Gentoo-bug: http://bugs.gentoo.org/436640 |
138 |
- Reported-by: Anthony Basile <blueness@g.o> |
139 |
- Signed-off-by: Sergei Trofimovich <slyfox@g.o> |
140 |
- |
141 |
-diff --git a/Network/Socket/ByteString/MsgHdr.hsc b/Network/Socket/ByteString/MsgHdr.hsc |
142 |
-index 24d7eb0..227e5ee 100644 |
143 |
---- a/Network/Socket/ByteString/MsgHdr.hsc |
144 |
-+++ b/Network/Socket/ByteString/MsgHdr.hsc |
145 |
-@@ -8,6 +8,7 @@ module Network.Socket.ByteString.MsgHdr |
146 |
- #include <sys/types.h> |
147 |
- #include <sys/socket.h> |
148 |
- |
149 |
-+import Data.Word -- for used '#type's |
150 |
- import Foreign.C.Types (CInt, CSize) |
151 |
- import Foreign.Ptr (Ptr) |
152 |
- import Foreign.Storable (Storable(..)) |
153 |
-@@ -20,7 +21,7 @@ import Network.Socket.ByteString.IOVec (IOVec) |
154 |
- -- don't exist on OpenSolaris. |
155 |
- data MsgHdr = MsgHdr |
156 |
- { msgName :: Ptr SockAddr |
157 |
-- , msgNameLen :: CSize |
158 |
-+ , msgNameLen :: (#type socklen_t) {- 32 bits even on amd64 and ppc64 -} |
159 |
- , msgIov :: Ptr IOVec |
160 |
- , msgIovLen :: CSize |
161 |
- } |