1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/alsa-plugins/files/patch-arcam-av-arcam_av.c
Sunpoet Po-Chuan Hsieh a28a1142b4 - Update to 1.0.25
- Convert to new options framework
- alsa-plugins:
  - Add option: ARIFF_OSS for FreeBSD-specific patch
  - Revert ports/165247 per regression in ports/169767
  - Unbreak arcam-av and usb_stream plugins
- While I'm here, pet portlint by removing ABI version number from LIB_DEPENDS

Changes:	http://www.alsa-project.org/main/index.php/Changes_v1.0.24_v1.0.25
		http://www.alsa-project.org/main/index.php/Changes_v1.0.23_v1.0.24
PR:		ports/169841
Submitted by:	Jan Beich <jbeich@tormail.org> (maintainer)
2012-07-20 03:03:56 +00:00

20 lines
392 B
C

--- arcam-av/arcam_av.c.orig
+++ arcam-av/arcam_av.c
@@ -27,6 +27,7 @@
#include <signal.h>
#include <stddef.h>
#include <stdio.h>
+#include <string.h>
#include <termios.h>
#include <unistd.h>
@@ -37,6 +38,8 @@
#include <sys/socket.h>
#include <sys/un.h>
+#define AF_FILE AF_UNIX
+
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))