openbsd-ports/misc/rpm/patches/patch-lib_transaction_c
espie ad1a64b3d9 port of rpm 3.0.4. Appears to work correctly so far.
Put into misc to mimic FreeBSD naming scheme.
Extra categories: archivers and emulators.
2000-06-12 18:49:41 +00:00

15 lines
431 B
Plaintext

$OpenBSD: patch-lib_transaction_c,v 1.1.1.1 2000/06/12 18:49:41 espie Exp $
--- lib/transaction.c.orig Mon Jun 12 01:38:08 2000
+++ lib/transaction.c Mon Jun 12 01:38:34 2000
@@ -12,6 +12,10 @@
#include "misc.h"
#include "rpmdb.h"
+#ifdef __OpenBSD__
+#include <sys/param.h>
+#include <sys/mount.h>
+#endif
/* XXX FIXME: merge with existing (broken?) tests in system.h */
/* portability fiddles */
#if STATFS_IN_SYS_STATVFS