summaryrefslogtreecommitdiff
path: root/graphics/nvtv
diff options
context:
space:
mode:
authorhasso <hasso>2009-03-13 12:48:51 +0000
committerhasso <hasso>2009-03-13 12:48:51 +0000
commit54fb7272356adf0ff68af04985a3cb6cebae8d96 (patch)
tree1c44b2a618a72bd0869bade3dd8a16d6e620376f /graphics/nvtv
parentb01b982cf1d3ca7ddac3345ea926e5539304cb08 (diff)
downloadpkgsrc-54fb7272356adf0ff68af04985a3cb6cebae8d96.tar.gz
Make it build other platforms than NetBSD.
Diffstat (limited to 'graphics/nvtv')
-rw-r--r--graphics/nvtv/distinfo4
-rw-r--r--graphics/nvtv/patches/patch-aa19
-rw-r--r--graphics/nvtv/patches/patch-ab11
3 files changed, 33 insertions, 1 deletions
diff --git a/graphics/nvtv/distinfo b/graphics/nvtv/distinfo
index 02dc3d64f06..acf1a30f41a 100644
--- a/graphics/nvtv/distinfo
+++ b/graphics/nvtv/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 08:45:10 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/03/13 12:48:51 hasso Exp $
SHA1 (nvtv-0.4.7.tar.gz) = 5ea23e4bfcdf91766ec4600a90866a3ccede252b
RMD160 (nvtv-0.4.7.tar.gz) = 866128297f30b36758e8dadfd04a562515bfc8e3
Size (nvtv-0.4.7.tar.gz) = 419564 bytes
+SHA1 (patch-aa) = 5427ad734597a76f4dbd65d17d95604f0df88d1e
+SHA1 (patch-ab) = 672fce1536dc7070f7b44d999c5da0a75b4d4c4c
SHA1 (patch-ac) = af493d9f8209203b50379f93146ba6504eb39829
diff --git a/graphics/nvtv/patches/patch-aa b/graphics/nvtv/patches/patch-aa
new file mode 100644
index 00000000000..a94b0edf3b6
--- /dev/null
+++ b/graphics/nvtv/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.3 2009/03/13 12:48:51 hasso Exp $
+
+Pkgsrc sysutils/pciutils installs headers in include/pciutils regardless
+of the name of the library. Not for upstream.
+
+--- src/card_direct.c.orig 2009-03-12 00:37:31 +0200
++++ src/card_direct.c 2009-03-12 00:37:53 +0200
+@@ -44,11 +44,7 @@
+ #include <fcntl.h>
+
+ #ifdef HAVE_PCI
+-#ifdef HAVE_PCIUTILS
+ #include <pciutils/pci.h>
+-#else
+-#include <pci/pci.h>
+-#endif
+ #endif
+ #include <sys/mman.h>
+ #include <sys/ioctl.h>
diff --git a/graphics/nvtv/patches/patch-ab b/graphics/nvtv/patches/patch-ab
new file mode 100644
index 00000000000..8338192d998
--- /dev/null
+++ b/graphics/nvtv/patches/patch-ab
@@ -0,0 +1,11 @@
+--- src/mmio.c.orig 2009-03-12 00:40:06 +0200
++++ src/mmio.c 2009-03-12 00:40:28 +0200
+@@ -40,7 +40,7 @@
+ #endif
+
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+
+ /* FIXME: Are these and sys/stat.h really needed? */
+