mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Make compile on supported versions of FreeBSD
Feature safe: yes
This commit is contained in:
parent
431b6be307
commit
691a35bdfd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267891
@ -24,10 +24,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 699999
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -DMODULES_WITH_WORLD install
|
||||
|
||||
|
11
audio/emu10kx/files/patch-emu10kx-pcm.c
Normal file
11
audio/emu10kx/files/patch-emu10kx-pcm.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- emu10kx-pcm.c.orig 2011-01-16 20:06:25.000000000 +0100
|
||||
+++ emu10kx-pcm.c 2011-01-16 20:10:06.000000000 +0100
|
||||
@@ -977,7 +977,7 @@
|
||||
break;
|
||||
}
|
||||
sc->rnum++;
|
||||
- if (sndbuf_alloc(ch->buffer, sc->card->parent_dmat, sc->card->bufsz) != 0)
|
||||
+ if (sndbuf_alloc(ch->buffer, sc->card->parent_dmat, NULL, sc->card->bufsz) != 0)
|
||||
return NULL;
|
||||
else {
|
||||
snd_mtxlock(sc->lock);
|
11
audio/emu10kx/files/patch-emu10kx.c
Normal file
11
audio/emu10kx/files/patch-emu10kx.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- emu10kx.c.orig 2011-01-16 20:03:30.000000000 +0100
|
||||
+++ emu10kx.c 2011-01-16 20:03:54.000000000 +0100
|
||||
@@ -892,7 +892,7 @@
|
||||
#else
|
||||
sc->irq = bus_alloc_resource(dev, SYS_RES_IRQ, &i, 0, ~0, 1, RF_ACTIVE | RF_SHAREABLE);
|
||||
#endif
|
||||
- if ((!(sc->irq)) || bus_setup_intr(dev, sc->irq, INTR_MPSAFE | INTR_TYPE_AV, emu_intr, sc, &sc->ih)) {
|
||||
+ if ((!(sc->irq)) || bus_setup_intr(dev, sc->irq, INTR_MPSAFE | INTR_TYPE_AV, NULL, emu_intr, sc, &sc->ih)) {
|
||||
device_printf(dev, "unable to map interrupt\n");
|
||||
goto bad;
|
||||
}
|
Loading…
Reference in New Issue
Block a user