freebsd-ports/graphics/ocaml-images/files/patch-src_gifwrite.c
Stanislav Sedov 5530c271c6 - Do not expose list_length. This prevents the library to be used in
games/freetennis, which links sdl_image library that exposes the
  same symbol.
2010-04-09 10:06:44 +00:00

11 lines
274 B
C

--- ./src/gifwrite.c.orig 2010-04-09 03:01:01.000000000 -0700
+++ ./src/gifwrite.c 2010-04-09 03:01:08.000000000 -0700
@@ -25,7 +25,7 @@
#include <gif_lib.h>
-int list_length( value list )
+static int list_length( value list )
{
CAMLparam1(list);
CAMLlocal1(l);