Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/games/ace-of-penguins/files/patch-lib_make-imglib.c
16461 views
1
--- lib/make-imglib.c.orig 2012-03-24 18:00:49 UTC
2
+++ lib/make-imglib.c
3
@@ -86,7 +86,7 @@ scan_image_directory ()
4
png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, 0, 0, 0);
5
info_ptr = png_create_info_struct (png_ptr);
6
7
- if (setjmp (png_ptr->jmpbuf)) {
8
+ if (setjmp (png_jmpbuf(png_ptr))) {
9
fclose (f);
10
continue;
11
}
12
@@ -202,7 +202,7 @@ tokenize(char *string)
13
char *rv;
14
if (string) {
15
next = string;
16
- return;
17
+ return NULL;
18
}
19
while (*next && !isgraph(*next)) next++;
20
if (!*next) return 0;
21
22