File: fix-hurd-i386-flags.patch

package info (click to toggle)
wolfssl 5.8.4-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 117,604 kB
  • sloc: ansic: 1,584,954; asm: 481,206; sh: 11,586; cs: 6,596; xml: 3,878; perl: 3,291; makefile: 2,058; ada: 1,891; javascript: 748; python: 636; cpp: 131; ruby: 118; objc: 80; tcl: 73
file content (20 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix type definition for socklen_t on hurd-i386
 Based on http://bugs.mysql.com/bug.php?id=22326
Author: Felix Lechner <felix.lechner@lease-up.com>
Forwarded: not-needed
Last-Update: 2017-04-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: wolfssl-5.6.6/wolfssl/test.h
===================================================================
--- wolfssl-5.6.6.orig/wolfssl/test.h
+++ wolfssl-5.6.6/wolfssl/test.h
@@ -265,7 +265,7 @@
 #endif
 #endif /* WOLFSSL_SOCKET_IS_INVALID */
 
-#if defined(__MACH__) || defined(USE_WINDOWS_API)
+#if defined(USE_WINDOWS_API)
     #ifndef _SOCKLEN_T
         typedef int socklen_t;
     #endif