View | Details | Raw Unified | Return to bug 144575
Collapse All | Expand All

(-)plib/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	plib
8
PORTNAME=	plib
9
PORTVERSION=	1.8.5
9
PORTVERSION=	1.8.5
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	x11-toolkits
11
CATEGORIES=	x11-toolkits
12
MASTER_SITES=	http://plib.sourceforge.net/dist/
12
MASTER_SITES=	http://plib.sourceforge.net/dist/
13
13
(-)plib/files/patch-src-net-netSocket.h (+27 lines)
Line 0 Link Here
1
--- src/net/netSocket.h.orig	2008-03-11 02:06:20.000000000 +0000
2
+++ src/net/netSocket.h	2010-03-09 10:27:29.331029501 +0000
3
@@ -41,6 +41,8 @@
4
 #define NET_SOCKET_H
5
 
6
 #include "ul.h"
7
+#include <sys/types.h>
8
+#include <sys/socket.h>
9
 #include <errno.h>
10
 
11
 /*
12
@@ -49,10 +51,11 @@
13
 class netAddress
14
 {
15
   /* DANGER!!!  This MUST match 'struct sockaddr_in' exactly! */
16
-  short          sin_family     ;
17
-  unsigned short sin_port       ;
18
-  unsigned int   sin_addr       ;
19
-  char           sin_zero [ 8 ] ;
20
+  int8_t            sin_len;
21
+  sa_family_t       sin_family;
22
+  in_port_t         sin_port;
23
+  uint32_t          sin_addr;
24
+  char              sin_zero[8];
25
 
26
 public:
27
   netAddress () {}

Return to bug 144575