openbsd-ports/sysutils/bacula/patches/patch-src_baconfig_h
ajacoutot b549864bc8 Major update to bacula 5.2.1.
As usual with major version bump, do not forget to run the upgrade
script corresponding to your DB.
A new README is provided in the package.

Tested by sthen@ and myself.
"Don't wait on me" merdely@ (maintainer)

ok sthen@
2011-11-17 23:45:56 +00:00

18 lines
513 B
Plaintext

Alpha fails to build because ioctl_req_t is defined as unsigned long int.
$OpenBSD: patch-src_baconfig_h,v 1.3 2011/11/17 23:45:56 ajacoutot Exp $
--- src/baconfig.h.orig Sun Oct 30 13:03:42 2011
+++ src/baconfig.h Mon Nov 14 10:17:54 2011
@@ -607,6 +607,11 @@ int setdomainname(char *name, int namelen);
#endif /* HAVE_HPUX_OS */
+#if defined (__OpenBSD__) && defined (__alpha__)
+#undef ioctl_req_t
+#define ioctl_req_t unsigned long int
+#endif
+
#ifdef HAVE_OSF1_OS
#ifdef __cplusplus
extern "C" {