openbsd-ports/misc/rpm/patches/patch-tools_rpmgettext_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
381 B
Plaintext

$OpenBSD: patch-tools_rpmgettext_c,v 1.1.1.1 2000/06/12 18:49:41 espie Exp $
--- tools/rpmgettext.c.orig Mon Jun 12 02:19:29 2000
+++ tools/rpmgettext.c Mon Jun 12 02:19:57 2000
@@ -11,6 +11,10 @@
#include "signature.h"
#include "header.h"
+#ifdef __OpenBSD__
+#include <libgen.h>
+#endif
+
#if !defined(HAVE_BASENAME)
extern char *basename (const char *__filename);
#endif