openbsd-ports/sysutils/bacula/patches/patch-src_baconfig_h
merdely b92ffdaba9 Update bacula to 5.0.2.
Fixes the weird install issues with the bat binary

New features can be found here:
http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html

Thanks to sthen for help with the new wantlib/lib_depends stuff,
removing the sqlite flavor, ...

Thanks to giovanni for pointing out a ${TRUEPREFIX} -> /usr/local that
crept into one of my patch files.

ok sthen@
2010-07-20 14:38:39 +00:00

18 lines
558 B
Plaintext

Alpha fails to build because ioctl_req_t is defined as unsigned long int.
$OpenBSD: patch-src_baconfig_h,v 1.2 2010/07/20 14:38:39 merdely Exp $
--- src/baconfig.h.orig Tue Apr 27 15:58:29 2010
+++ src/baconfig.h Thu Jun 24 09:37:47 2010
@@ -727,6 +727,11 @@ extern "C" 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
extern "C" int fchdir(int filedes);
extern "C" long gethostid(void);