Wichert Akkerman лет назад: 24
Родитель
Сommit
2ac5bf9540
4 измененных файлов с 14 добавлено и 4 удалено
  1. 7 0
      ChangeLog
  2. 3 2
      configure.in
  3. 1 0
      debian/changelog
  4. 3 2
      utils/md5sum.c

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+Wed Apr 10 00:39:58 CEST 2002 Wichert Akkerman <wichert@deephackmode.org>
+
+  * 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 <wichert@deephackmode.org>
 
   * dselect/pkgdepcon.cc: treat enhances like suggests in

+ 3 - 2
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")

+ 1 - 0
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 <wakkerma@debian.org>  Mon, 20 Aug 2001 14:54:38 +0200
 

+ 3 - 2
utils/md5sum.c

@@ -13,14 +13,15 @@
  *   to support GNU gettext.
  * This file is in the public domain.
  */
+
+#include "config.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <getopt.h>
 #include <unistd.h>
 
-#include "config.h"
-
 /* Take care of NLS matters.  */
 
 #if HAVE_LOCALE_H