Skip to content
Permalink
Browse files

giflib: fix implicitly defined functions in gif_hash.c

add size to hashes
  • Loading branch information
Schamschula committed Jun 26, 2020
1 parent e1fa4e8 commit 94a38e2f1c86cf2ccbdea7cd8c39928a8c35ab65
Showing with 14 additions and 2 deletions.
  1. +4 −2 graphics/giflib/Portfile
  2. +10 −0 graphics/giflib/files/patch-lib-gif_hash.c.diff
@@ -19,9 +19,11 @@ long_description GIF loading and saving shared library. \
Uses the LZW algorithm.

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

@@ -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.
You can’t perform that action at this time.