diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-23 05:22:37 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-23 05:22:37 +0000 |
commit | 99eb96118818e4f0296b7236c5414fee7ab0ae41 (patch) | |
tree | fc949831ca0ac14d112430d59688a99172738f36 /emulators | |
parent | 9148227c6cd429606626e41c9efe3c27b04e1000 (diff) | |
download | pkgsrc-99eb96118818e4f0296b7236c5414fee7ab0ae41.tar.gz |
Add time.h where Linux demands it.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/x48/distinfo | 3 | ||||
-rw-r--r-- | emulators/x48/patches/patch-src_timer_c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/emulators/x48/distinfo b/emulators/x48/distinfo index 42a31b1a28f..d9cdf0c5621 100644 --- a/emulators/x48/distinfo +++ b/emulators/x48/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2012/04/22 22:04:24 dholland Exp $ +$NetBSD: distinfo,v 1.6 2012/05/23 05:22:37 dholland Exp $ SHA1 (x48_041.tar.gz) = 7b166ab4a7570b0617a0d8d01d0938b6ae372ab6 RMD160 (x48_041.tar.gz) = e41b32bd2b38c4163e4a1aae0776048b0c372637 @@ -9,3 +9,4 @@ SHA1 (patch-ac) = ee5784614db4bf00c047e819aaa0f272d3bf9bce SHA1 (patch-ad) = c1f98b7672fe96ab8e203081dfedd6cf96075cfa SHA1 (patch-ae) = 29ec4f1495ab23d520883eebd51356b394c7143f SHA1 (patch-af) = 60adc15ae8c20528892cbcaa029a3dd206a7edca +SHA1 (patch-src_timer_c) = 976debb83985bad55ca8b25dfe256370e59e3ac8 diff --git a/emulators/x48/patches/patch-src_timer_c b/emulators/x48/patches/patch-src_timer_c new file mode 100644 index 00000000000..2ece0fa9b15 --- /dev/null +++ b/emulators/x48/patches/patch-src_timer_c @@ -0,0 +1,14 @@ +$NetBSD: patch-src_timer_c,v 1.1 2012/05/23 05:22:37 dholland Exp $ + +time.h is required on Linux. + +--- src/timer.c~ 1999-06-28 22:12:29.000000000 +0000 ++++ src/timer.c +@@ -43,6 +43,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <unistd.h> ++#include <time.h> + #include <sys/time.h> + + #include "timer.h" |