Package: squid3
Version: 3.1.1-1
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

the current version has unsatisfied Build-Depends on
libcap2-dev under non-linux ports.

Please, could you exclude linux specific package in Build-Depends
by using "libcap2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]".

After that, with patch bellow it builds fine
in my not so clean chroot on kfreebsd-amd64.

Thanks for your cooperation.

                                Petr

--- compat/fdsetsize.h
+++ compat/fdsetsize.h
@@ -33,7 +33,7 @@
  * __FD_SETSIZE. Ofcourse a user program may NEVER include bits/whatever.h
  * directly, so this is a dirty hack!
  */
-#if defined(_SQUID_LINUX_)
+#if defined(_SQUID_LINUX_) || defined(__GLIBC__)
 #undef CHANGE_FD_SETSIZE
 #define CHANGE_FD_SETSIZE 0
 #include <features.h>




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to