From 920c87f2fd046f28c83285f2279a25547ed4d6c3 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Sun, 31 Oct 2004 10:22:14 +0000 Subject: [PATCH] Stefan Fiedler: libdvdcss: patch for linux 2.6.9 same workaround as for util-linux Index: package/rene/libdvdcss/linux-asm-byteorder_h.patch =================================================================== [2004102719433408091] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4715 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../libdvdcss/linux-asm-byteorder_h.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 package/rene/libdvdcss/linux-asm-byteorder_h.patch diff --git a/package/rene/libdvdcss/linux-asm-byteorder_h.patch b/package/rene/libdvdcss/linux-asm-byteorder_h.patch new file mode 100644 index 000000000..84cfa126b --- /dev/null +++ b/package/rene/libdvdcss/linux-asm-byteorder_h.patch @@ -0,0 +1,23 @@ +diff -dur libdvdcss-1.2.8/src/ioctl.c libdvdcss-1.2.8-p/src/ioctl.c +--- libdvdcss-1.2.8/src/ioctl.c 2003-03-09 23:34:10.000000000 +0000 ++++ libdvdcss-1.2.8-p/src/ioctl.c 2004-10-24 07:27:16.613239464 +0000 +@@ -60,6 +60,19 @@ + # include + #endif + #ifdef DVD_STRUCT_IN_LINUX_CDROM_H ++ ++# ifdef __CHECKER__ ++# define __bitwise __attribute__((bitwise)) ++# else ++# define __bitwise ++# endif ++# define __le16 __bitwise __u16 ++# define __be16 __bitwise __u16 ++# define __le32 __bitwise __u32 ++# define __be32 __bitwise __u32 ++# define __le64 __bitwise __u64 ++# define __be64 __bitwise __u64 ++ + # include + #endif + #ifdef DVD_STRUCT_IN_DVD_H