tag 394214 + patch
thanks

Below is a patch to fix the PAGE_SIZE/PAGE_MASK bug in eciadsl.  I've
verified that the package builds again on ia64 with this patch applied.
Please let me know if I should NMU.

--- foo/debian/patches/pagesize_pagemask        1969-12-31 17:00:00.000000000 
-0700
+++ eciadsl-0.11/debian/patches/pagesize_pagemask       2006-10-23 
14:23:28.000000000 -0600
@@ -0,0 +1,14 @@
+--- eciadsl-usermode-0.11/pusb-linux.h.orig     2006-10-23 14:18:51.000000000 
-0600
++++ eciadsl-usermode-0.11/pusb-linux.h  2006-10-23 14:19:29.000000000 -0600
+@@ -127,6 +127,9 @@
+ #define USBDEVFS_DISCONNECT        _IO('U', 22)
+ #define USBDEVFS_CONNECT           _IO('U', 23)
+
++#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
++#define PAGE_MASK (~(sysconf(_SC_PAGESIZE) - 1))
++
+ #undef __u8
+ #undef __u16
+ #undef __u32
+
+


-- 
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED]             |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to