Module Name:    src
Committed By:   christos
Date:           Tue Sep 30 18:00:28 UTC 2014

Modified Files:
        src/tools/gpt: Makefile
Added Files:
        src/tools/gpt: namespace.h

Log Message:
now gpt works under macosx.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tools/gpt/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/gpt/namespace.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/gpt/Makefile
diff -u src/tools/gpt/Makefile:1.2 src/tools/gpt/Makefile:1.3
--- src/tools/gpt/Makefile:1.2	Mon Sep 29 17:05:11 2014
+++ src/tools/gpt/Makefile	Tue Sep 30 14:00:28 2014
@@ -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"

Added files:

Index: src/tools/gpt/namespace.h
diff -u /dev/null src/tools/gpt/namespace.h:1.1
--- /dev/null	Tue Sep 30 14:00:28 2014
+++ src/tools/gpt/namespace.h	Tue Sep 30 14:00:28 2014
@@ -0,0 +1,5 @@
+
+#include <stdint.h>
+__BEGIN_DECLS
+extern int dehumanize_number(const char *, int64_t *);
+__END_DECLS

Reply via email to