Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gpt now gpt works under macosx.
details: https://anonhg.NetBSD.org/src/rev/cadd10390389
branches: trunk
changeset: 332607:cadd10390389
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 30 18:00:28 2014 +0000
description:
now gpt works under macosx.
diffstat:
tools/gpt/Makefile | 7 ++++---
tools/gpt/namespace.h | 5 +++++
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 852f29e6615d -r cadd10390389 tools/gpt/Makefile
--- a/tools/gpt/Makefile Tue Sep 30 17:59:59 2014 +0000
+++ b/tools/gpt/Makefile Tue Sep 30 18:00:28 2014 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.2 2014/09/29 21:05:11 christos Exp $
+# $NetBSD: Makefile,v 1.3 2014/09/30 18:00:28 christos Exp $
HOSTPROGNAME= nbgpt
HOST_SRCDIR= sbin/gpt
HOST_CPPFLAGS+= -I${.CURDIR}
-HOST_SRCS+= opendisk.c
+
+HOST_SRCS+= opendisk.c dehumanize_number.c
NOMAN= # defined
-.PATH.c: ${.CURDIR}/../../lib/libutil
+.PATH.c: ${.CURDIR}/../../lib/libutil ${.CURDIR}/../../lib/libc/gen
.include "${.CURDIR}/../Makefile.nbincludes"
.include "${.CURDIR}/../Makefile.host"
diff -r 852f29e6615d -r cadd10390389 tools/gpt/namespace.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/gpt/namespace.h Tue Sep 30 18:00:28 2014 +0000
@@ -0,0 +1,5 @@
+
+#include <stdint.h>
+__BEGIN_DECLS
+extern int dehumanize_number(const char *, int64_t *);
+__END_DECLS
Home |
Main Index |
Thread Index |
Old Index