Hi, here's the NMU patch I'll be uploading in a minute. Should be identical to the one Brice sent, except for a bumped urgency.
debdiff eciadsl_0.11-3.dsc /srv/pbuilder/result/eciadsl_0.11-3.1.dsc eciadsl-0.11/debian/changelog | 8 ++++ debian/patches/get_pagesize_from_sysconf_at_open | 39 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff -u eciadsl-0.11/debian/changelog eciadsl-0.11/debian/changelog --- eciadsl-0.11/debian/changelog +++ eciadsl-0.11/debian/changelog @@ -1,3 +1,11 @@ +eciadsl (0.11-3.1) unstable; urgency=high + + * Non-maintainer upload. + * Added get_pagesize_from_sysconf_at_open to fix a FTBFS on + architectures with variable page size, closes: #394214. + + -- Brice Goglin <[EMAIL PROTECTED]> Mon, 8 Jan 2007 14:29:06 +0100 + eciadsl (0.11-3) unstable; urgency=medium * Fixed postrm to remove the right rules symlink. (Closes: #332487) only in patch2: unchanged: --- eciadsl-0.11.orig/debian/patches/get_pagesize_from_sysconf_at_open +++ eciadsl-0.11/debian/patches/get_pagesize_from_sysconf_at_open @@ -0,0 +1,39 @@ +Index: eciadsl-usermode-0.11/pusb-linux.c +=================================================================== +--- eciadsl-usermode-0.11/pusb-linux.c 2006-12-29 15:25:26.000000000 +0100 ++++ eciadsl-usermode-0.11/pusb-linux.c 2006-12-29 15:33:20.000000000 +0100 +@@ -29,7 +29,6 @@ + #include <string.h> + + #include "pusb-linux.h" +-#include <asm/page.h> + + struct pusb_endpoint_t + { +@@ -217,10 +216,15 @@ + return(make_device(fd)); + } + ++/* save page_size at open */ ++static unsigned long page_size; ++ + pusb_device_t pusb_open(const char* path) + { + int fd; + ++ page_size = sysconf(_SC_PAGESIZE); ++ + fd = open(path, O_RDWR); + if (fd < 0) + { +@@ -352,8 +356,8 @@ + { + bulk.ep = ep; + bulk.len = size; +- if (bulk.len > PAGE_SIZE) +- bulk.len = PAGE_SIZE; ++ if (bulk.len > page_size) ++ bulk.len = page_size; + bulk.timeout = timeout; + bulk.data = buf; + Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature