pkgsrc/x11/xworld/patches/patch-ah
dholland 4d183607f3 Fix pkglint. Add patch comments. Do configuration SUBSTs at pre-configure
time, not post-patch, to reduce the chances of the results being rolled
unconditionally into patches.
2012-07-30 04:23:23 +00:00

18 lines
342 B
Text

$NetBSD: patch-ah,v 1.2 2012/07/30 04:23:23 dholland Exp $
IRIX 5 hack.
--- compile_world.c.orig 2006-02-19 02:24:33.000000000 +0100
+++ compile_world.c 2006-02-19 02:26:05.000000000 +0100
@@ -41,6 +41,11 @@
#define MAP_FILE 0x0
#endif
+/* IRIX 5 hack: */
+#ifndef MAP_FAILED
+#define MAP_FAILED ((void *) -1)
+#endif
+
int
main()
{