cvs commit: src/contrib/top/patches commands.c.patch machine.h.patch top.X.patch top.c.patch top.h.patch src/usr.bin/top Makefile machine.c

YONETANI Tomokazu qhwt+dragonfly-commits at les.ath.cx
Sat May 29 02:41:05 PDT 2004


On Fri, May 28, 2004 at 10:11:15PM -0700, Hiten Pandya wrote:
> hmp         2004/05/28 22:11:15 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     usr.bin/top          Makefile machine.c 
>   Added files:
>     contrib/top/patches  commands.c.patch machine.h.patch 
>                          top.X.patch top.c.patch top.h.patch 
>   Log:
>   First pass at updating top(1):

			:

>   NOTE! top(1) is now using the contrib-patching framework just like
>   we do with GCC-3 so that it will be simple to update the base code
>   in the future if required.

and please include the following change so as patched machine.h in ${.OBJDIR}
is used instead from ${TOPDIR}.

Index: usr.bin/top/Makefile
===================================================================
RCS file: /home/source/dragonfly/cvs/src/usr.bin/top/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- usr.bin/top/Makefile	29 May 2004 05:11:15 -0000	1.3
+++ usr.bin/top/Makefile	29 May 2004 09:34:39 -0000
@@ -5,7 +5,7 @@
 TOPDIR=	${.CURDIR}/../../contrib/top
 .PATH:	${TOPDIR}
 
-CFLAGS+= -DHAVE_GETOPT -DHAVE_STRERROR -I${.CURDIR} -I${TOPDIR} -I. -DORDER
+CFLAGS+= -DHAVE_GETOPT -DHAVE_STRERROR -I${.CURDIR} -I${.OBJDIR} -I${TOPDIR} -I. -DORDER
 
 #
 # The table size should be a prime number approximately twice as





More information about the Commits mailing list