hi,
see attached Bugreport reported against di's Debian Package, attached
patch should allow di to be built on GNU/kFreeBSD!
- Forwarded message from Petr Salinger petr.salin...@seznam.cz -
From: Petr Salinger petr.salin...@seznam.cz
Date: Thu, 3 Sep 2009 09:31:01 +0200 (CEST)
To: sub...@bugs.debian.org
Subject: Bug#544821: di: FTBFS on GNU/kFreeBSD
Reply-To: Petr Salinger petr.salin...@seznam.cz, 544...@bugs.debian.org
Package: di
Version: 4.13.dfsg.1-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
X-Debbugs-CC: debian-...@lists.debian.org, rbr...@ime.usp.br
Hi,
the current version fails to build on GNU/kFreeBSD.
Rogério Brito rbr...@ime.usp.br (02/09/2009):
I just updated my bsd image and I tried to install the di
package. It unfortunately FTBFS also (just tried to build it).
What is the usual procedure to deal with FTBFS'es with BSD?
send a patch to the BTS, tagging it patch, usertagging it with user:
debian-...@lists.debian.org, usertags: kfreebsd.
Or ask on debian-...@lists.debian.org, we do our best.
The needed patch is bellow.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
only in patch2:
unchanged:
--- di-4.13.dfsg.1.orig/dilib.c
+++ di-4.13.dfsg.1/dilib.c
@@ -203,15 +203,7 @@
//
-#if (_lib_getmntent || \
-_statfs_2arg || \
-_statfs_3arg || \
-_statfs_4arg) \
-! defined (_lib_getmntinfo) \
-! defined (_lib_getfsstat) \
-! defined (_lib_getvfsstat) \
-! defined (_lib_mntctl) \
-! defined (_lib_getmnt)
+#if 1
# if defined (MOUNTED)
# define DI_MOUNT_FILEMOUNTED
# else
@@ -774,7 +766,9 @@
_lib_endmntent \
! defined (_lib_mntctl) \
! defined (_lib_GetDiskFreeSpace) \
-! defined (_lib_GetDiskFreeSpaceEx)
+! defined (_lib_GetDiskFreeSpaceEx) \
+! (defined(_lib_getfsstat) \
+! defined (_lib_getvfsstat))
/*
* di_getDiskEntries
- End forwarded message -
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org