From 61c0ca0abb146b3965f3b99a542bd310c599ee00 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 11 Nov 2005 09:57:32 +0000 Subject: Add /dev/speaker support to amd64. The following repo-copies were made (by Mark Murray): sys/i386/isa/spkr.c -> sys/dev/speaker/spkr.c sys/i386/include/speaker.h -> sys/dev/speaker/speaker.h share/man/man4/man4.i386/spkr.4 -> share/man/man4/spkr.4 --- games/morse/Makefile | 2 +- games/morse/morse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'games/morse') diff --git a/games/morse/Makefile b/games/morse/Makefile index 44b20ba..92d1121 100644 --- a/games/morse/Makefile +++ b/games/morse/Makefile @@ -4,7 +4,7 @@ PROG= morse MAN= morse.6 -.if ${MACHINE_ARCH} == "i386" +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" CFLAGS += -DSPEAKER=\"/dev/speaker\" .endif diff --git a/games/morse/morse.c b/games/morse/morse.c index eb9e4d4..87f97dc 100644 --- a/games/morse/morse.c +++ b/games/morse/morse.c @@ -64,7 +64,7 @@ static const char rcsid[] = #include #ifdef SPEAKER -#include +#include #endif struct morsetab { -- cgit v1.1