summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-01-05 14:14:50 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-01-05 14:14:50 +0000
commitabf8591266cbc222283d5bf820f316fc021bccdb (patch)
treeab00adbfceef822cf6629657d45524120984a352 /media-plugins/vdr-bitstreamout/files
parentremove unecessary patches (diff)
downloadhistorical-abf8591266cbc222283d5bf820f316fc021bccdb.tar.gz
historical-abf8591266cbc222283d5bf820f316fc021bccdb.tar.bz2
historical-abf8591266cbc222283d5bf820f316fc021bccdb.zip
Added patch, to let compile work with linux-headers not providing asm/bitopts.h.
Package-Manager: portage-2.1.2_rc4-r6
Diffstat (limited to 'media-plugins/vdr-bitstreamout/files')
-rw-r--r--media-plugins/vdr-bitstreamout/files/vdr-bitstreamout-0.85-bitopts.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-plugins/vdr-bitstreamout/files/vdr-bitstreamout-0.85-bitopts.diff b/media-plugins/vdr-bitstreamout/files/vdr-bitstreamout-0.85-bitopts.diff
new file mode 100644
index 000000000000..3800f7d43c8d
--- /dev/null
+++ b/media-plugins/vdr-bitstreamout/files/vdr-bitstreamout-0.85-bitopts.diff
@@ -0,0 +1,18 @@
+diff -ru bitstreamout-0.85-orig/types.h bitstreamout-0.85/types.h
+--- bitstreamout-0.85-orig/types.h 2007-01-05 15:10:51.063602883 +0100
++++ bitstreamout-0.85/types.h 2007-01-05 15:11:55.619413470 +0100
+@@ -26,7 +26,13 @@
+ #include <sys/mman.h>
+ #include <asm/types.h>
+ #include <sys/types.h>
+-#if defined(__i386__) || defined(__x86_64__)
++/*
++ * #if defined(__i386__) || defined(__x86_64__)
++ * #define HAVE_BITOPTS 1
++ * #endif
++ */
++
++#ifdef HAVE_BITOPTS
+ # include <asm/bitops.h>
+ #else
+ # define clear_bit(n,addr) (*(addr) &= ~(1 << (n)))