From 42eaceaef90b820bb1230afaf146a6d59e6c6bb8 Mon Sep 17 00:00:00 2001 From: arved Date: Sat, 24 Mar 2007 13:39:18 +0000 Subject: Mark IGNORE on amd64 5.x and use machine/speaker.h on 5.x, dev/speaker/speaker.h was not MFCt to 5.x --- sysutils/wmhm/Makefile | 4 ++++ sysutils/wmhm/files/patch-ac | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/sysutils/wmhm/Makefile b/sysutils/wmhm/Makefile index df3f9e7189d2..56b91bc7afab 100644 --- a/sysutils/wmhm/Makefile +++ b/sysutils/wmhm/Makefile @@ -30,6 +30,10 @@ CONFIGURE_ARGS+=--with-xpm-includes=${X11BASE}/include \ .include +.if (${OSVERSION} < 601000) && (${ARCH} == "amd64") +IGNORE= 5.x does not support speaker(4) +.endif + post-install: ${STRIP_CMD} ${PREFIX}/bin/wmhm diff --git a/sysutils/wmhm/files/patch-ac b/sysutils/wmhm/files/patch-ac index 44a782adaacd..c7f2b816ee52 100644 --- a/sysutils/wmhm/files/patch-ac +++ b/sysutils/wmhm/files/patch-ac @@ -1,11 +1,15 @@ --- operations.c.orig Sun Jul 22 07:00:55 2001 -+++ operations.c Sat Mar 17 17:43:22 2007 -@@ -39,12 +39,11 @@ ++++ operations.c Sat Mar 24 14:29:26 2007 +@@ -39,12 +39,16 @@ #include #include #include --#include ++#include ++#if __FreeBSD_version >= 601000 +#include ++#else + #include ++#endif #ifdef HAVE_SMBUS -#include -- cgit