Date: Mon, 18 Nov 2002 18:56:49 +0100 (CET) From: Volker Stolz <vs@foldr.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45412: [patch] Fix sysutils/x86info on -current Message-ID: <200211181756.gAIHunwt003799@monster.theater.foldr.org>
next in thread | raw e-mail | index | archive | help
>Number: 45412 >Category: ports >Synopsis: [patch] Fix sysutils/x86info on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 10:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 5.0-CURRENT i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD monster.theater.foldr.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Nov 13 19:42:10 CET 2002 root@monster.ikea.net:/usr/src/sys/i386/compile/MONSTER i386 >Description: - There's no such thing as machine/types.h, it's spelled sys/types here. - CLFAGS police Compiled on: -stable, -current >How-To-Repeat: >Fix: diff -urN ofiles/patch-Makefile files/patch-Makefile --- ofiles/patch-Makefile Fri Nov 15 20:16:15 2002 +++ files/patch-Makefile Mon Nov 18 17:15:11 2002 @@ -1,6 +1,10 @@ ---- Makefile.orig Thu Nov 14 13:42:46 2002 -+++ Makefile Thu Nov 14 13:42:58 2002 -@@ -4,7 +4,7 @@ +--- Makefile.orig Mon Nov 11 22:02:55 2002 ++++ Makefile Mon Nov 18 17:14:07 2002 +@@ -1,10 +1,10 @@ +-CFLAGS = -Wall -W -Wshadow -g -O2 ++CFLAGS = -Wall -W -Wshadow # -g -O2 + #CFLAGS += $(shell if $(CC) -m32 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-m32"; fi) + #CFLAGS += -mwin32 -DWIN32_LEAN_AND_MEAN SHELL = /bin/sh diff -urN ofiles/patch-mptable.c files/patch-mptable.c --- ofiles/patch-mptable.c Thu Jan 1 01:00:00 1970 +++ files/patch-mptable.c Mon Nov 18 17:14:32 2002 @@ -0,0 +1,11 @@ +--- mptable.c.orig Mon Nov 18 17:13:48 2002 ++++ mptable.c Mon Nov 18 17:13:59 2002 +@@ -41,8 +41,6 @@ + + #ifdef linux + typedef unsigned int vm_offset_t; +-#else +-#include <machine/types.h> + #endif + + /* EBDA is @ 40:0e in real-mode terms */ diff -urN ofiles/patch-x86info.h files/patch-x86info.h --- ofiles/patch-x86info.h Thu Jan 1 01:00:00 1970 +++ files/patch-x86info.h Mon Nov 18 17:14:58 2002 @@ -0,0 +1,11 @@ +--- x86info.h.orig Mon Nov 18 17:13:19 2002 ++++ x86info.h Mon Nov 18 17:13:34 2002 +@@ -4,7 +4,7 @@ + #ifdef linux + #include <linux/types.h> + #else +-#include <machine/types.h> ++#include <sys/types.h> + #define __u32 int + #endif /* linux */ + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211181756.gAIHunwt003799>