mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
ace-of-penguins: fix build
This commit is contained in:
@@ -12,10 +12,18 @@ index 2056424..e93f8bd 100644
|
||||
BUILD_CC = @BUILD_CC@
|
||||
AR = @AR@
|
||||
diff --git ace-of-penguins-clean/lib/make-imglib.c ace-of-penguins-workdir/lib/make-imglib.c
|
||||
index 84cda12..dde0ffa 100644
|
||||
index 84cda12..8f12d4a 100644
|
||||
--- ace-of-penguins-clean/lib/make-imglib.c
|
||||
+++ ace-of-penguins-workdir/lib/make-imglib.c
|
||||
@@ -86,7 +86,7 @@ scan_image_directory ()
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
+#include <ctype.h>
|
||||
|
||||
#include <png.h>
|
||||
|
||||
@@ -86,7 +87,7 @@ scan_image_directory ()
|
||||
png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0);
|
||||
info_ptr = png_create_info_struct (png_ptr);
|
||||
|
||||
@@ -24,6 +32,15 @@ index 84cda12..dde0ffa 100644
|
||||
fclose (f);
|
||||
continue;
|
||||
}
|
||||
@@ -202,7 +203,7 @@ tokenize(char *string)
|
||||
char *rv;
|
||||
if (string) {
|
||||
next = string;
|
||||
- return;
|
||||
+ return NULL;
|
||||
}
|
||||
while (*next && !isgraph(*next)) next++;
|
||||
if (!*next) return 0;
|
||||
diff --git ace-of-penguins-clean/lib/xwin.c ace-of-penguins-workdir/lib/xwin.c
|
||||
index e4bcca2..724be23 100644
|
||||
--- ace-of-penguins-clean/lib/xwin.c
|
||||
|
||||
Reference in New Issue
Block a user