[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

more details, and diff for ia64



Ok, here's a better report, complete with my diff between 1.8.3.1 and what I'm
calling 1.8.3.1.1 on my machine.

This on ia64, using glibc-2.2.1 and a very pre-release gcc-2.97.

Building 1.8.3.1 fails with:

  In file included from /home/bdale/debian/dpkg-1.8.3.1/dselect/curkeys.cc:25:
  /home/bdale/debian/dpkg-1.8.3.1/include/dpkg-db.h: In member function `void 
     varbuf::operator()(const char*)':
  /home/bdale/debian/dpkg-1.8.3.1/include/dpkg-db.h:259: `strlen' undeclared 
     (first use this function)
  /home/bdale/debian/dpkg-1.8.3.1/include/dpkg-db.h:259: (Each undeclared 
     identifier is reported only once for each function it appears in.)
  make[2]: *** [curkeys.o] Error 1

The diff below includes my fix for this, and the entry we need in 
dpkg-architecture for ia64.  I don't think the #include will hurt anyone else,
so I'd be pleased to see this rolled in.

Bdale


diff -u -r dpkg-1.8.3.1/debian/changelog dpkg-1.8.3.1.1/debian/changelog
--- dpkg-1.8.3.1/debian/changelog       Sat Jan 13 06:52:35 2001
+++ dpkg-1.8.3.1.1/debian/changelog     Wed Jan 17 13:01:39 2001
@@ -1,3 +1,10 @@
+dpkg (1.8.3.1.1) unstable; urgency=low
+
+  * add <string.h> to the included headers in include/dpkg-db.h
+  * add a case for ia64-linux to scripts/dpkg-architecture.pl
+
+ -- Bdale Garbee <bdale@gag.com>  Wed, 17 Jan 2001 12:35:01 -0700
+
 dpkg (1.8.3.1) unstable; urgency=low
 
   * Revert change to nfmalloc.c that was causing SIGBUS on sparc.
diff -u -r dpkg-1.8.3.1/include/dpkg-db.h dpkg-1.8.3.1.1/include/dpkg-db.h
--- dpkg-1.8.3.1/include/dpkg-db.h      Fri Jan 12 09:02:12 2001
+++ dpkg-1.8.3.1.1/include/dpkg-db.h    Wed Jan 17 12:34:10 2001
@@ -24,6 +24,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 struct versionrevision {
   unsigned long epoch;
diff -u -r dpkg-1.8.3.1/scripts/dpkg-architecture.pl dpkg-1.8.3.1.1/scripts/dpkg-architecture.pl
--- dpkg-1.8.3.1/scripts/dpkg-architecture.pl   Fri Jan 12 06:56:09 2001
+++ dpkg-1.8.3.1.1/scripts/dpkg-architecture.pl Wed Jan 17 13:01:24 2001
@@ -60,6 +60,7 @@
            'shed',      'shed-linux',
            'hppa',      'hppa-linux',
            'hurd-i386', 'i386-gnu',
+           'ia64',      'ia64-linux',
            's390',      's390-linux',
            'freebsd-i386', 'i386-freebsd');
 



Reply to: