evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / pl / ploticus / use-gd-package.patch
blob9a72489ddaadc7c1d51228a70c0cf34edb176a21
1 --- a/src/Makefile
2 +++ b/src/Makefile
3 @@ -91,10 +91,10 @@
6 ########### Option 1: use bundled GD16 (PNG only). Requires libpng and zlib.
7 -exetarget: plpng
8 -GD16LIBS = -lpng -lz
9 -GD16H = -I/usr/local/include
10 -ZFLAG = -DWZ
11 +# exetarget: plpng
12 +# GD16LIBS = -lpng -lz
13 +# GD16H = -I/usr/local/include
14 +# ZFLAG = -DWZ
15 ### These should remain commented unless your libs are not in usual places, then alter to suit...
16 ### GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
17 ### GD16H = -I/home/scg/lib
18 @@ -111,11 +111,11 @@
20 ########### Option 4: use your own GD resource with FreeType2 (ttf) fonts enabled.
21 ########### Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype
22 -# exetarget: plgd18
23 -# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
24 -# GD18H =
25 -# GDFREETYPE = -DGDFREETYPE
26 -# ZFLAG = -DWZ
27 +exetarget: plgd18
28 +GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
29 +GD18H =
30 +GDFREETYPE = -DGDFREETYPE
31 +ZFLAG = -DWZ
33 ########### Option 5: don't use GD at all.
34 # exetarget: plnogd