fix the two nits that prevent clang from compiling junk
This commit is contained in:
parent
99d31b7ebe
commit
8fc4e4103d
11
misc/magicpoint/patches/patch-image_rlelib_c
Normal file
11
misc/magicpoint/patches/patch-image_rlelib_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-image_rlelib_c,v 1.1 2017/04/28 10:01:01 espie Exp $
|
||||
--- image/rlelib.c.orig Fri Apr 28 11:54:42 2017
|
||||
+++ image/rlelib.c Fri Apr 28 11:55:44 2017
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
-#include <varargs.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "image.h" /* need ZFILE definition */
|
12
misc/magicpoint/patches/patch-mng_c
Normal file
12
misc/magicpoint/patches/patch-mng_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-mng_c,v 1.1 2017/04/28 10:01:01 espie Exp $
|
||||
--- mng.c.orig Fri Apr 28 11:52:25 2017
|
||||
+++ mng.c Fri Apr 28 11:53:19 2017
|
||||
@@ -43,6 +43,8 @@ typedef struct {
|
||||
mng_uint32 delay; /* ticks to wait before resuming decode */
|
||||
} mngstuff;
|
||||
|
||||
+void mng_window_setup(mngstuff *, int, int, int, int);
|
||||
+
|
||||
/* callbacks for the mng decoder */
|
||||
|
||||
/* memory allocation; data must be zeroed */
|
Loading…
Reference in New Issue
Block a user