FreeBSD Bugzilla – Attachment 104402 Details for
Bug 144575
port fix: x11-toolkits/plib - Fix netSocket code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.28 KB, created by
Ganael LAPLANCHE
on 2010-03-09 12:40:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2010-03-09 12:40:02 UTC
Size:
1.28 KB
patch
obsolete
>diff -aurN plib.orig/Makefile plib/Makefile >--- plib.orig/Makefile 2010-03-09 08:12:50.731527610 +0000 >+++ plib/Makefile 2010-03-09 08:33:59.434649375 +0000 >@@ -7,7 +7,7 @@ > > PORTNAME= plib > PORTVERSION= 1.8.5 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= x11-toolkits > MASTER_SITES= http://plib.sourceforge.net/dist/ > >diff -aurN plib.orig/files/patch-src-net-netSocket.h plib/files/patch-src-net-netSocket.h >--- plib.orig/files/patch-src-net-netSocket.h 1970-01-01 00:00:00.000000000 +0000 >+++ plib/files/patch-src-net-netSocket.h 2010-03-09 10:27:48.968986979 +0000 >@@ -0,0 +1,27 @@ >+--- src/net/netSocket.h.orig 2008-03-11 02:06:20.000000000 +0000 >++++ src/net/netSocket.h 2010-03-09 10:27:29.331029501 +0000 >+@@ -41,6 +41,8 @@ >+ #define NET_SOCKET_H >+ >+ #include "ul.h" >++#include <sys/types.h> >++#include <sys/socket.h> >+ #include <errno.h> >+ >+ /* >+@@ -49,10 +51,11 @@ >+ class netAddress >+ { >+ /* DANGER!!! This MUST match 'struct sockaddr_in' exactly! */ >+- short sin_family ; >+- unsigned short sin_port ; >+- unsigned int sin_addr ; >+- char sin_zero [ 8 ] ; >++ int8_t sin_len; >++ sa_family_t sin_family; >++ in_port_t sin_port; >++ uint32_t sin_addr; >++ char sin_zero[8]; >+ >+ public: >+ netAddress () {}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 144575
: 104402