Fix segfault on startup.
This commit is contained in:
parent
6dcf04b0a5
commit
8fff67055b
@ -4,7 +4,7 @@ COMMENT = interactive fractal zoomer and morpher
|
||||
|
||||
VERSION = 3.6
|
||||
DISTNAME = xaos-${VERSION}
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
||||
|
13
graphics/xaos/patches/patch-src_util_timers_c
Normal file
13
graphics/xaos/patches/patch-src_util_timers_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_util_timers_c,v 1.1 2017/10/20 08:47:01 pascal Exp $
|
||||
|
||||
Index: src/util/timers.c
|
||||
--- src/util/timers.c.orig
|
||||
+++ src/util/timers.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <stdio.h>
|
||||
#include <libc.h>
|
||||
#else
|
||||
+#include <stdlib.h>
|
||||
#include <config.h>
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
#ifdef HAVE_UNISTD_H
|
Loading…
Reference in New Issue
Block a user