From owner-freebsd-ports Sun Jan 12 11:50: 5 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 099FA37B401 for ; Sun, 12 Jan 2003 11:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3416D43F89 for ; Sun, 12 Jan 2003 11:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0CJo2NS010384 for ; Sun, 12 Jan 2003 11:50:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0CJo2pE010383; Sun, 12 Jan 2003 11:50:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1480737B401 for ; Sun, 12 Jan 2003 11:44:32 -0800 (PST) Received: from mail2.itxmarket.com (fw.itxmarket.com [213.11.40.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82B7A43F13 for ; Sun, 12 Jan 2003 11:44:31 -0800 (PST) (envelope-from root@icommerce-france.com) Received: from icommerce-france.com (extranet.itxmarket.com [192.168.2.24]) by mail2.itxmarket.com (Postfix) with ESMTP id AD83C37BC2 for ; Sun, 12 Jan 2003 20:44:30 +0100 (CET) Received: by icommerce-france.com (Postfix, from userid 0) id 4901C14A24; Sun, 12 Jan 2003 20:44:30 +0100 (CET) Message-Id: <20030112194430.4901C14A24@icommerce-france.com> Date: Sun, 12 Jan 2003 20:44:30 +0100 (CET) From: "Michael L.Hostbaek" Reply-To: "Michael L.Hostbaek" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/47001: Fix build problem for net/slurm Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47001 >Category: ports >Synopsis: Fix build problem for net/slurm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jan 12 11:50:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Michael L. Hostbaek >Release: FreeBSD 4.7-STABLE i386 >Organization: FreeBSDCluster >Environment: System: FreeBSD extranet.itxmarket.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Oct 11 17:00:45 CEST 2002 root@extranet.itxmarket.com:/usr/obj/usr/src/sys/EXTRANET1 i386 >Description: Include patch that fixes build error on older version of FreeBSD (pre june 2002). (From author) >How-To-Repeat: >Fix: diff -u -ruN slurm.bak/files/patch-aa slurm/files/patch-aa --- slurm.bak/files/patch-aa Thu Jan 1 01:00:00 1970 +++ slurm/files/patch-aa Sun Jan 12 20:35:21 2003 @@ -0,0 +1,26 @@ +Index: src/if_media.c +=================================================================== +RCS file: /home/cvs/slurm/slurm/src/if_media.c,v +retrieving revision 1.24 +retrieving revision 1.25 +diff -u -r1.24 -r1.25 +--- src/if_media.c 28 Dec 2002 12:41:36 -0000 1.24 ++++ src/if_media.c 10 Jan 2003 17:59:00 -0000 1.25 +@@ -6,7 +6,7 @@ + * operating systems. + * + ***************************************************************************** +- * $Id: if_media.c,v 1.24 2002/12/28 12:41:36 hscholz Exp $ ++ * $Id: if_media.c,v 1.25 2003/01/10 17:59:00 hscholz Exp $ + *****************************************************************************/ + + #if defined (__FreeBSD__) || (__OpenBSD__) || (__NetBSD__) +@@ -176,7 +176,7 @@ + case IFM_IEEE80211_DS11: + speed = 11 * 1000; + break; +-#ifdef __FreeBSD__ ++#if __FreeBSD_version >= 460102 + case IFM_IEEE80211_DS22: + speed = 22 * 1000; + break; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message