pkgsrc/games/craft/patches/patch-xtimer_h
dholland a2c55dd58b Assorted fixes and cleanup.
- if we're going to supply the build makefile, it shouldn't require gmake.
 - don't install executable html or gif files
 - add patch comments
 - const correctness for string constants, as demanded by gcc 4.5
 - avoid needing -lcompat
 - fix a y2038 issue

PKGREVISION -> 2
2011-12-20 16:18:16 +00:00

24 lines
395 B
Text

$NetBSD: patch-xtimer_h,v 1.1 2011/12/20 16:18:17 dholland Exp $
- Fix y2038 issue.
--- xtimer.h~ 1997-04-25 12:49:00.000000000 +0000
+++ xtimer.h
@@ -13,7 +13,7 @@
class xtimer
{private :
- long stamp;
+ long long stamp;
double dt;
public :
@@ -26,7 +26,7 @@ class xtimer
};
-long x_sys_time ();
+long long x_sys_time ();
void delay (int dt);
#endif