diff options
author | krion <krion@FreeBSD.org> | 2004-02-02 03:04:25 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-02-02 03:04:25 +0800 |
commit | e43f4254c7b61185ececb1c42221083013d4ff1f (patch) | |
tree | de63d087a77a22f5bb0bbd76232d44a0bb681980 /multimedia/dtv | |
parent | e82d741d4cd79e9feda2424485d8c9e9ba038b31 (diff) | |
download | freebsd-ports-gnome-e43f4254c7b61185ececb1c42221083013d4ff1f.tar.gz freebsd-ports-gnome-e43f4254c7b61185ececb1c42221083013d4ff1f.tar.zst freebsd-ports-gnome-e43f4254c7b61185ececb1c42221083013d4ff1f.zip |
- Fix build on AMD64
- Pet portlint
Diffstat (limited to 'multimedia/dtv')
-rw-r--r-- | multimedia/dtv/Makefile | 4 | ||||
-rw-r--r-- | multimedia/dtv/files/patch-aa | 16 | ||||
-rw-r--r-- | multimedia/dtv/files/patch-main.c | 10 |
3 files changed, 25 insertions, 5 deletions
diff --git a/multimedia/dtv/Makefile b/multimedia/dtv/Makefile index e6cebcd876c6..e7abfe2aa45c 100644 --- a/multimedia/dtv/Makefile +++ b/multimedia/dtv/Makefile @@ -8,11 +8,11 @@ PORTNAME= dtv PORTVERSION= 0.50 CATEGORIES= multimedia -MASTER_SITES= http://apollo.backplane.com/FreeBSDPorts/ +MASTER_SITES= http://apollo.backplane.com/FreeBSDPorts/ MAINTAINER= ports@FreeBSD.org COMMENT= A client/server based TV capture/display program -RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 +RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 .include <bsd.port.mk> diff --git a/multimedia/dtv/files/patch-aa b/multimedia/dtv/files/patch-aa index 020fcbab6c1d..352edad42153 100644 --- a/multimedia/dtv/files/patch-aa +++ b/multimedia/dtv/files/patch-aa @@ -1,10 +1,20 @@ ---- defs.h.orig Sat Sep 7 16:44:57 2002 -+++ defs.h Sat Sep 7 16:45:03 2002 -@@ -12,7 +12,7 @@ +--- defs.h.orig Mon Feb 11 04:14:17 2002 ++++ defs.h Sun Feb 1 20:01:30 2004 +@@ -10,9 +10,17 @@ + #include <sys/mman.h> + #include <sys/ipc.h> #include <sys/shm.h> ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++#if __FreeBSD_version > 500000 ++#include <dev/bktr/ioctl_bt848.h> ++#include <dev/bktr/ioctl_meteor.h> ++#else #include <machine/ioctl_bt848.h> #include <machine/ioctl_meteor.h> -#include <machine/soundcard.h> ++#endif ++#endif +#include <sys/soundcard.h> #include <stdio.h> #include <stdlib.h> diff --git a/multimedia/dtv/files/patch-main.c b/multimedia/dtv/files/patch-main.c new file mode 100644 index 000000000000..1a89e84d6c79 --- /dev/null +++ b/multimedia/dtv/files/patch-main.c @@ -0,0 +1,10 @@ +--- main.c.orig Sun Feb 1 19:51:55 2004 ++++ main.c Sun Feb 1 19:52:11 2004 +@@ -11,6 +11,7 @@ + #include <netinet/in.h> + #include <arpa/inet.h> + #include <netdb.h> ++#include <sys/time.h> + + Prototype int VerboseOpt; + |