From: Wichert Akkerman Date: Tue, 9 Apr 2002 22:41:55 +0000 (+0000) Subject: Add LFS support X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ac5bf9540a394e45b8a6cce4ef203a8fc19c718;p=dpkg Add LFS support --- diff --git a/ChangeLog b/ChangeLog index ee404184..a85def58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Apr 10 00:39:58 CEST 2002 Wichert Akkerman + + * configure.in: use AC_SYS_LARGEFILE and bump autoconf requirement to 2.50 + since 2.13 does not include AC_SYS_LARGEFILE + * utils/md5sum.h: include config.h earlier so we pick up the LFS flags + before including the system includefiles + Mon Apr 1 18:57:02 CEST 2002 Wichert Akkerman * dselect/pkgdepcon.cc: treat enhances like suggests in diff --git a/configure.in b/configure.in index 74ca1721..5f8fa0ff 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ([2.13]) +AC_PREREQ([2.53]) AC_INIT(include/dpkg.h.in) AC_CONFIG_HEADER(config.h) @@ -77,6 +77,8 @@ AC_SUBST(PACKAGE) VERSION=`cat $srcdir/version-nr` AC_SUBST(VERSION) +AC_SYS_LARGEFILE + dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) @@ -132,7 +134,6 @@ AC_CHECK_FUNCS(vsnprintf lchown snprintf) AC_CHECK_HEADERS(sys/cdefs.h syslog.h stddef.h) AC_CHECK_HEADERS(error.h) AC_SYS_SIGLIST_DECLARED - AC_CHECK_LIB(ihash, ihash_create, SSD_LIBS="-lihash $SSD_LIBS") AC_CHECK_LIB(ps, proc_stat_list_create, SSD_LIBS="-lps $SSD_LIBS") AC_CHECK_LIB(shouldbeinlibc, fmt_past_time, SSD_LIBS="-lshouldbeinlibc $SSD_LIBS") diff --git a/debian/changelog b/debian/changelog index c9ef898f..d72e7a56 100644 --- a/debian/changelog +++ b/debian/changelog @@ -85,6 +85,7 @@ dpkg (1.10) unstable; urgency=low * Add manpages for dpkg.cfg and dselect.cfg. Closes: Bug#132901 * Improve test for illegal packagename for dpkg-gencontrol -p option * Fix segfault when getenv("PATH") returns null. Closes: Bug#136349 + * Add Large File Summit extensions. Closes: Bug#130509 -- Wichert Akkerman Mon, 20 Aug 2001 14:54:38 +0200 diff --git a/utils/md5sum.c b/utils/md5sum.c index b9077f96..c9c4a592 100644 --- a/utils/md5sum.c +++ b/utils/md5sum.c @@ -13,14 +13,15 @@ * to support GNU gettext. * This file is in the public domain. */ + +#include "config.h" + #include #include #include #include #include -#include "config.h" - /* Take care of NLS matters. */ #if HAVE_LOCALE_H