1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Author: Debian
Description: treat kFreeBSD the same as linux
--- pd-pdp.orig/configure.ac
+++ pd-pdp/configure.ac
@@ -137,7 +137,7 @@
AC_CHECK_LIB(m,sin)
ARCH=`uname -s`
-if test $ARCH == Linux;
+if test $ARCH == "Linux" -o $ARCH == "GNU/kFreeBSD" -o $ARCH == "GNU";
then
PDP_LIBRARY_NAME=pdp.pd_linux
--- pd-pdp.orig/system/zl/v4l.c
+++ pd-pdp/system/zl/v4l.c
@@ -43,7 +43,9 @@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/time.h>
+#ifdef __linux__
#include <linux/types.h>
+#endif
#include <stdbool.h>
#include "v4l.h"
|