pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/x48 Add time.h where Linux demands it.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e100c3d0fb01
branches:  trunk
changeset: 604102:e100c3d0fb01
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Wed May 23 05:22:37 2012 +0000

description:
Add time.h where Linux demands it.

diffstat:

 emulators/x48/distinfo                  |   3 ++-
 emulators/x48/patches/patch-src_timer_c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 813b1ce955c0 -r e100c3d0fb01 emulators/x48/distinfo
--- a/emulators/x48/distinfo    Wed May 23 05:19:40 2012 +0000
+++ b/emulators/x48/distinfo    Wed May 23 05:22:37 2012 +0000
@@ -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-ad) = c1f98b7672fe96ab8e203081dfedd6cf96075cfa
 SHA1 (patch-ae) = 29ec4f1495ab23d520883eebd51356b394c7143f
 SHA1 (patch-af) = 60adc15ae8c20528892cbcaa029a3dd206a7edca
+SHA1 (patch-src_timer_c) = 976debb83985bad55ca8b25dfe256370e59e3ac8
diff -r 813b1ce955c0 -r e100c3d0fb01 emulators/x48/patches/patch-src_timer_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/x48/patches/patch-src_timer_c   Wed May 23 05:22:37 2012 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index