Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 20:44:30 +0100 (CET)
From:      "Michael L.Hostbaek" <mich@freebsdcluster.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47001: Fix build problem for net/slurm
Message-ID:  <20030112194430.4901C14A24@icommerce-france.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112194430.4901C14A24>