add some required patches; rohee@

This commit is contained in:
brad 1999-03-31 20:53:10 +00:00
parent 7540a0f1a1
commit 1ad1bfd3e1
4 changed files with 40 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/03/22 05:03:31 brad Exp $
# $OpenBSD: Makefile,v 1.2 1999/03/31 20:53:10 brad Exp $
# $FreeBSD: Makefile,v 1.8 1999/03/09 01:08:46 nectar Exp $
DISTNAME= esound-0.2.8
@ -6,7 +6,7 @@ CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= gnome-1.0/sources
NEED_VERSION= 1.73
NEED_VERSION= 1.78
MAINTAINER= brad@openbsd.org
@ -15,7 +15,7 @@ LIB_DEPENDS= audiofile:${PORTSDIR}/devel/libaudiofile
SEPARATE_BUILD= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= --enable-static --with-libwrap
post-install:
@${MKDIR} ${LOCALBASE}/share/aclocal/

View File

@ -0,0 +1,16 @@
--- test-script.orig Wed Jul 15 10:26:14 1998
+++ test-script Sun Mar 21 22:40:38 1999
@@ -1,4 +1,4 @@
-#!/bin/tcsh
+#!/usr/local/bin/tcsh
echo welcome to the test.
echo ""
@@ -40,7 +40,6 @@
esdmon > sample.raw &
esdcat -b -m -r 11025 test.wav
sleep 3
-killall esdmon
echo press enter to continue...
echo $< >& /dev/null

View File

@ -0,0 +1,10 @@
--- configure.orig Sun Mar 21 21:58:40 1999
+++ configure Sun Mar 21 21:59:13 1999
@@ -3493,6 +3493,7 @@
cat > conftest.$ac_ext <<EOF
#line 3495 "configure"
#include "confdefs.h"
+#include <stdio.h>
#include <tcpd.h>
#include <syslog.h>
int allow_severity = LOG_INFO;

View File

@ -0,0 +1,11 @@
--- audio_oss.c.orig Sun Mar 14 23:15:22 1999
+++ audio_oss.c Sun Mar 14 23:16:16 1999
@@ -34,7 +34,7 @@
mode = O_RDWR;
/* open the sound device */
- device = esd_audio_device ? esd_audio_device : "/dev/dsp";
+ device = esd_audio_device ? esd_audio_device : "/dev/sound";
if ((afd = open(device, mode, 0)) == -1)
{ /* Opening device failed */
perror(device);