]> git.pld-linux.org Git - packages/gd.git/blob - gd-gif-acam.patch
6875ecc4f645b209b5d9861c93ee5421d736ffc4
[packages/gd.git] / gd-gif-acam.patch
1 diff -Nur gd-2.0.1.orig/Makefile.am gd-2.0.1/Makefile.am
2 --- gd-2.0.1.orig/Makefile.am   Sat Aug 10 17:03:27 2002
3 +++ gd-2.0.1/Makefile.am        Sat Aug 10 17:13:28 2002
4 @@ -31,6 +31,10 @@
5         gd_wbmp.c \
6         gdhelpers.c \
7         gd_topal.c \
8 +       gd_gif_in.c \
9 +       gd_gif_out.c \
10 +       gd_biggif_out.c \
11 +       gd_lzw_out.c \
12         gd.h \
13         gdfontt.h \
14         gdfonts.h \
15 @@ -51,7 +55,7 @@
16  
17  libgd_la_LDFLAGS = -version-info 2:0:0
18  
19 -bin_PROGRAMS = pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng
20 +bin_PROGRAMS = pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng gd2togif gdcmpgif giftogd2
21  
22  noinst_PROGRAMS = gdtest gddemo gd2time gdtestft testac
23  
24 @@ -91,6 +95,15 @@
25  webpng_SOURCES = webpng.c gd.h
26  webpng_LDADD = libgd.la
27  
28 +gd2togif_SOURCES = gd2togif.c gd.h
29 +gd2togif_LDADD = libgd.la
30 +
31 +gdcmpgif_SOURCES = gdcmpgif.c gd.h
32 +gdcmpgif_LDADD = libgd.la
33 +
34 +giftogd2_SOURCES = giftogd2.c gd.h
35 +giftogd2_LDADD = libgd.la
36 +
37  EXTRA_DIST = demoin.png index.html test/*
38  
39  CLEANFILES = demoout.png
40 diff -Nur gd-2.0.1.orig/gd_gif_out.c gd-2.0.1/gd_gif_out.c
41 --- gd-2.0.1.orig/gd_gif_out.c  Sat Aug 10 17:03:27 2002
42 +++ gd-2.0.1/gd_gif_out.c       Sat Aug 10 17:12:39 2002
43 @@ -8,8 +8,6 @@
44  ** Wrapper functions for GIF output.
45  */
46  
47 -#define LZW_LICENCED
48 -
49  void gdImageGifToSink(gdImagePtr im, gdSinkPtr outSink)
50  {
51          gdIOCtx   *out = gdNewSSCtx(NULL,outSink);
52 diff -Nur gd-2.0.1.orig/gd_lzw_out.c gd-2.0.1/gd_lzw_out.c
53 --- gd-2.0.1.orig/gd_lzw_out.c  Sat Aug 10 17:03:27 2002
54 +++ gd-2.0.1/gd_lzw_out.c       Sat Aug 10 17:12:39 2002
55 @@ -1,3 +1,4 @@
56 +#ifdef LZW_LICENCED
57  #include <malloc.h>
58  #include <stdio.h>
59  #include <math.h>
60 @@ -794,3 +795,4 @@
61  /* |   notice appear in supporting documentation.  This software is    | */
62  /* |   provided "as is" without express or implied warranty.           | */
63  /* +-------------------------------------------------------------------+ */
64 +#endif
This page took 0.026587 seconds and 2 git commands to generate.