Skip to content

Commit

Permalink
giflib: fix implicitly defined functions in gif_hash.c
Browse files Browse the repository at this point in the history
add size to hashes
  • Loading branch information
Schamschula committed Jun 26, 2020
1 parent e1fa4e8 commit 94a38e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 4 additions & 2 deletions graphics/giflib/Portfile
Expand Up @@ -19,9 +19,11 @@ long_description GIF loading and saving shared library. \
Uses the LZW algorithm. Uses the LZW algorithm.


checksums rmd160 34c30ace20155a61446d1561af44e3ad6329b49a \ checksums rmd160 34c30ace20155a61446d1561af44e3ad6329b49a \
sha256 0ac8d56726f77c8bc9648c93bbb4d6185d32b15ba7bdb702415990f96f3cb766 sha256 0ac8d56726f77c8bc9648c93bbb4d6185d32b15ba7bdb702415990f96f3cb766 \
size 560968


patchfiles patch-gif_lib.h.diff patchfiles patch-gif_lib.h.diff \
patch-lib-gif_hash.c.diff


configure.args --disable-x11 configure.args --disable-x11


Expand Down
10 changes: 10 additions & 0 deletions graphics/giflib/files/patch-lib-gif_hash.c.diff
@@ -0,0 +1,10 @@
--- lib/gif_hash.c.orig 2013-09-03 08:41:31.000000000 -0500
+++ lib/gif_hash.c 2020-06-26 14:43:00.000000000 -0500
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>

#include "gif_lib.h"
#include "gif_hash.h"

0 comments on commit 94a38e2

Please sign in to comment.