openbsd-ports/games/csmash/patches/patch-Network_cpp
naddy e568624855 * Don't include <sys/timeb.h>, but provide the required definition of
struct timeb.
* Don't patch away the SDL header subdirectory and then add it back
  to the include path.
* Sync WANTLIB.

ok jca@
2013-12-07 22:35:29 +00:00

12 lines
356 B
Plaintext

$OpenBSD: patch-Network_cpp,v 1.2 2013/12/07 22:35:29 naddy Exp $
--- Network.cpp.orig Sun Aug 17 13:43:03 2003
+++ Network.cpp Fri Dec 6 20:49:25 2013
@@ -169,7 +169,6 @@ ReadTime( int sd, struct timeb* tb ) {
char *b = buf;
long millitm;
- b = ReadLong( b, tb->time );
b = ReadLong( b, millitm );
tb->millitm = (unsigned short)millitm;