more DU 4.0D fiddles (Shing-Gene Yung).

CVS patchset: 2910
CVS date: 1999/03/22 18:36:23
This commit is contained in:
jbj 1999-03-22 18:36:23 +00:00
parent bd3990b81c
commit a1058e3d9e
5 changed files with 48 additions and 5 deletions

View File

@ -3,6 +3,7 @@
- pgp5 support (Carlo Wood <carlo@runaway.xs4all.nl>)
- fix: segfault from double close on ftpGetFileDesc ftpAbort path.
- fix: don't add header if signature generation failed (Carlo Wood).
- more DU 4.0D fiddles (Shing-Gene Yung).
2.91 -> 2.92
- update with libtool-2.4f.

View File

@ -111,6 +111,15 @@
/* Full path to macros configuration file (usually /usr/lib/rpm/macros) */
#undef MACROFILES
/* statfs in <sys/vfs.h> (for linux systems) */
#undef STATFS_IN_SYS_VFS
/* statfs in <sys/mount.h> (for Digital Unix 4.0D systems) */
#undef STATFS_IN_SYS_MOUNT
/* statfs in <sys/statfs.h> (for Irix 6.4 systems) */
#undef STATFS_IN_SYS_STATFS
^L
/* Leave that blank line there!! Autoheader needs it.
If you're adding to this file, keep in mind:

View File

@ -364,6 +364,27 @@ AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/systemcfg.h)
AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/vmount.h)
AC_CHECK_HEADERS(bzlib.h libio.h zlib.h)
dnl DU 4.0 fiddles.
AC_CHECK_HEADERS(glob.h)
AC_MSG_CHECKING(for struct statfs)
AC_EGREP_HEADER(struct statfs,sys/vfs.h,[
AC_MSG_RESULT(in sys/vfs.h)
AC_DEFINE(STATFS_IN_SYS_VFS)],
[
AC_EGREP_HEADER(struct statfs,sys/mount.h,[
AC_MSG_RESULT(in sys/mount.h)
AC_DEFINE(STATFS_IN_SYS_MOUNT)],
[
AC_EGREP_HEADER(struct statfs,sys/statfs.h,[
AC_MSG_RESULT(in sys/statfs.h)
AC_DEFINE(STATFS_IN_SYS_STATFS)],
[
AC_MSG_RESULT(not found)
])
])
])
AC_C_INLINE
dnl look for libc features

View File

@ -11,7 +11,19 @@
#include "misc.h"
#include "rpmdb.h"
#include <sys/vfs.h>
/* XXX FIXME: merge with existing (broken?) tests in system.h */
/* DU 4.0 fiddles */
#if STATFS_IN_SYS_VFS
# include <sys/vfs.h>
#else
# if STATFS_IN_SYS_MOUNT
# include <sys/mount.h>
# else
# if STATFS_IN_SYS_STATFS
# include <sys/statfs.h>
# endif
# endif
#endif
struct fileInfo {
/* for all packages */

View File

@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-03-22 12:20-0500\n"
"POT-Creation-Date: 1999-03-22 13:09-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -3170,17 +3170,17 @@ msgstr ""
msgid "Invalid %%_signature spec in macro file"
msgstr ""
#: ../lib/transaction.c:744
#: ../lib/transaction.c:756
#, c-format
msgid "relocating %s to %s\n"
msgstr ""
#: ../lib/transaction.c:750
#: ../lib/transaction.c:762
#, c-format
msgid "excluding %s\n"
msgstr ""
#: ../lib/transaction.c:838
#: ../lib/transaction.c:850
#, c-format
msgid "%s skipped due to missingok flag\n"
msgstr ""