Bug#557891: libbft: FTBFS on kfreebsd-i386: buggy check for bft_z_off_t
Cyril Brulebois
kibi at debian.org
Wed Nov 25 03:31:32 UTC 2009
Package: libbft
Version: 1.1.1-2
Severity: serious
Tags: patch
Justification: FTBFS
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
Hi,
it looks like the check is buggy and suffers from a tiny typo: a missing
_LONG. See the HAVE_LONG_LONG check the line before and the typedef on
long long the line after. Builds fine on kfreebsd-i386 with the attached
patch.
Thanks for considering.
Mraw,
KiBi.
-------------- next part --------------
--- libbft-1.1.1.orig/src/bft_file.c
+++ libbft-1.1.1/src/bft_file.c
@@ -113,7 +113,7 @@
# if (BFT_SIZEOF_Z_OFF_T == BFT_SIZEOF_LONG)
typedef long bft_z_off_t;
# elif defined (HAVE_LONG_LONG)
-# if (BFT_SIZEOF_Z_OFF_T == BFT_SIZEOF_LONG)
+# if (BFT_SIZEOF_Z_OFF_T == BFT_SIZEOF_LONG_LONG)
typedef long long bft_z_off_t;
# else
# error "z_off_t returned by zlibCompileFlags() neither long nor long long"
More information about the debian-science-maintainers
mailing list