diff options
author | petef <petef@FreeBSD.org> | 2003-01-13 10:34:20 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-01-13 10:34:20 +0800 |
commit | 495316e453607fa06a868eafb65ff1be01b6e55a (patch) | |
tree | 684108dce63a277809d2770e77821f1dcfc338eb /net/slurm | |
parent | 12e0b436c5b6fda18f87162131e6ede15c1fcba0 (diff) | |
download | freebsd-ports-gnome-495316e453607fa06a868eafb65ff1be01b6e55a.tar.gz freebsd-ports-gnome-495316e453607fa06a868eafb65ff1be01b6e55a.tar.zst freebsd-ports-gnome-495316e453607fa06a868eafb65ff1be01b6e55a.zip |
Include patch that fixes build error on pre-june 2002 versions of
FreeBSD, from the author.
PR: 47001
Submitted by: maintainer
Diffstat (limited to 'net/slurm')
-rw-r--r-- | net/slurm/files/patch-aa | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/slurm/files/patch-aa b/net/slurm/files/patch-aa new file mode 100644 index 000000000000..7106b1015f71 --- /dev/null +++ b/net/slurm/files/patch-aa @@ -0,0 +1,28 @@ +$FreeBSD$ + +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; |