Package: libmhash-dev Version: 0.9.9-1 Severity: normal Tags: patch
When compiling an application that uses includes <mhash.h> and uses autotools, it gives the following mhash-related warnings: In file included from audiosum.c:30: .../config.h:41:1: warning: "PACKAGE" redefined In file included from /usr/include/mutils/mhash.h:29, from /usr/include/mhash.h:10, from audiosum.c:28: /usr/include/mutils/mhash_config.h:186:1: warning: this is the location of the previous definition In file included from audiosum.c:30: .../config.h:44:1: warning: "PACKAGE_BUGREPORT" redefined In file included from /usr/include/mutils/mhash.h:29, from /usr/include/mhash.h:10, from audiosum.c:28: /usr/include/mutils/mhash_config.h:189:1: warning: this is the location of the previous definition In file included from audiosum.c:30: .../config.h:47:1: warning: "PACKAGE_NAME" redefined In file included from /usr/include/mutils/mhash.h:29, from /usr/include/mhash.h:10, from audiosum.c:28: /usr/include/mutils/mhash_config.h:192:1: warning: this is the location of the previous definition In file included from audiosum.c:30: .../config.h:50:1: warning: "PACKAGE_STRING" redefined In file included from /usr/include/mutils/mhash.h:29, from /usr/include/mhash.h:10, from audiosum.c:28: /usr/include/mutils/mhash_config.h:195:1: warning: this is the location of the previous definition In file included from audiosum.c:30: .../config.h:53:1: warning: "PACKAGE_TARNAME" redefined In file included from /usr/include/mutils/mhash.h:29, from /usr/include/mhash.h:10, from audiosum.c:28: /usr/include/mutils/mhash_config.h:198:1: warning: this is the location of the previous definition In file included from audiosum.c:30: .../config.h:56:1: warning: "PACKAGE_VERSION" redefined In file included from /usr/include/mutils/mhash.h:29, from /usr/include/mhash.h:10, from audiosum.c:28: /usr/include/mutils/mhash_config.h:201:1: warning: this is the location of the previous definition -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages libmhash-dev depends on: ii libc6-dev 2.7-9 GNU C Library: Development Librari ii libmhash2 0.9.9-1 Library for cryptographic hashing libmhash-dev recommends no packages. -- no debconf information
diff -x configure -x config.guess -x config.sub -x 'Makefile.*' -Nru mhash-0.9.9.orig/configure.in mhash-0.9.9/configure.in --- mhash-0.9.9.orig/configure.in 2007-04-04 19:22:28.000000000 -0700 +++ mhash-0.9.9/configure.in 2008-03-29 00:21:24.000000000 -0800 @@ -6,6 +6,7 @@ AM_INIT_AUTOMAKE AC_DEFINE([MHASH_VERSION], PROGRAM_VERSION, "MHash Version") +AC_CONFIG_HEADER([include/mutils/config.h]) AC_CONFIG_HEADER([include/mutils/mhash_config.h]) diff -x configure -x config.guess -x config.sub -x 'Makefile.*' -Nru mhash-0.9.9.orig/include/mutils/config.h.in mhash-0.9.9/include/mutils/config.h.in --- mhash-0.9.9.orig/include/mutils/config.h.in 1969-12-31 16:00:00.000000000 -0800 +++ mhash-0.9.9/include/mutils/config.h.in 2008-03-29 00:48:22.000000000 -0800 @@ -0,0 +1,22 @@ +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Version number of package */ +#undef VERSION + + diff -x configure -x config.guess -x config.sub -x 'Makefile.*' -Nru mhash-0.9.9.orig/include/mutils/mhash_config.h.in mhash-0.9.9/include/mutils/mhash_config.h.in --- mhash-0.9.9.orig/include/mutils/mhash_config.h.in 2008-03-29 00:23:29.000000000 -0800 +++ mhash-0.9.9/include/mutils/mhash_config.h.in 2008-03-29 00:06:41.000000000 -0800 @@ -181,24 +181,6 @@ /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - /* Define to 1 if the C compiler supports function prototypes. */ #undef PROTOTYPES