summaryrefslogtreecommitdiff
path: root/graphics/ploticus
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-06-30 15:14:45 +0000
committerryoon <ryoon@pkgsrc.org>2013-06-30 15:14:45 +0000
commit0cde444e8c0f07564cf5e750dae8860d56ace5c0 (patch)
tree107a03ef22a74926ce9730704ceac9cbe332e540 /graphics/ploticus
parent1e1174afaf477a287b025fccd58e8162130fa4be (diff)
downloadpkgsrc-0cde444e8c0f07564cf5e750dae8860d56ace5c0.tar.gz
Remove garbage files.
Diffstat (limited to 'graphics/ploticus')
-rw-r--r--graphics/ploticus/patches/patch-src_Makefile.orig68
-rw-r--r--graphics/ploticus/patches/patch-src_gd__png.c.orig24
-rw-r--r--graphics/ploticus/patches/patch-src_tdhkit.c.orig14
3 files changed, 0 insertions, 106 deletions
diff --git a/graphics/ploticus/patches/patch-src_Makefile.orig b/graphics/ploticus/patches/patch-src_Makefile.orig
deleted file mode 100644
index 33c5a01b651..00000000000
--- a/graphics/ploticus/patches/patch-src_Makefile.orig
+++ /dev/null
@@ -1,68 +0,0 @@
-$NetBSD: patch-src_Makefile.orig,v 1.1 2013/06/30 15:13:09 ryoon Exp $
-
-* zlib is also needed explicitly.
-
---- src/Makefile.orig 2013-06-07 17:05:43.000000000 +0000
-+++ src/Makefile
-@@ -7,7 +7,7 @@
-
-
- # defaults..
--CC = gcc
-+#CC = gcc
- PLATFORM = UNIX
- RMCOM = rm -f
- NOX11 = -DNOX11
-@@ -91,10 +91,10 @@ NOX11 = -DNOX11
-
-
- ########### Option 1: use bundled GD16 (PNG only). Requires libpng and zlib.
--exetarget: plpng
--GD16LIBS = -lpng -lz
--GD16H = -I/usr/local/include
--ZFLAG = -DWZ
-+#exetarget: plpng
-+#GD16LIBS = -lpng -lz
-+#GD16H = -I/usr/local/include
-+#ZFLAG = -DWZ
- ### These should remain commented unless your libs are not in usual places, then alter to suit...
- ### GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
- ### GD16H = -I/home/scg/lib
-@@ -103,11 +103,11 @@ ZFLAG = -DWZ
- # exetarget: pl
-
- ########### Option 3: use your own GD resource. Requires GD 1.84+, libpng, zlib, libjpeg
--# exetarget: plgd18
--# GD18LIBS = -lgd -lpng -lz -ljpeg
--# GD18H =
--# GDFREETYPE =
--# ZFLAG = -DWZ
-+exetarget: plgd18
-+GD18LIBS = -lgd -lpng -lz -ljpeg
-+GD18H =
-+GDFREETYPE =
-+ZFLAG = -DWZ
-
- ########### Option 4: use your own GD resource with FreeType2 (ttf) fonts enabled.
- ########### Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype
-@@ -137,7 +137,7 @@ ZFLAG = -DWZ
-
- #### To set a hard-coded directory for prefabs files, edit the PREFABS_DIR define in pl.h before doing the build.
- #### If the installer does this, users won't be required to have PLOTICUS_PREFABS environment variable defined.
--
-+PREFABS_DIR = "${PREFIX}/share/ploticus"
-
- #### If you do a "make install", where do you want the executable(s) to be moved to?
- INSTALLBIN = /usr/local/bin
-@@ -188,9 +188,9 @@ GD13 = grgd13.o devstuff13.o gd13.o
- GD16 = grgd16.o devstuff16.o gd16.o gd_io.o gd_io_dp.o gd_io_file.o gd_png.o
- GD = gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o
-
--LIBS = $(XLIBS) -lm $(ADDLIBS)
-+LIBS = ${LDFLAGS} $(XLIBS) -lm $(ADDLIBS) -lz
-
--CFLAGS = $(FPIC) $(WALL) -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(LOCALE_FLAG) \
-+CFLAGS += $(FPIC) $(WALL) -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(LOCALE_FLAG) \
- $(NOGD) $(NOX11) $(NOPS) $(NOSVG) $(NOSWF) $(XINCLUDEDIR) $(MINGH)
-
- OBJ = proc_annotate.o proc_areadef.o proc_axis.o proc_bars.o proc_rect.o proc_breakaxis.o \
diff --git a/graphics/ploticus/patches/patch-src_gd__png.c.orig b/graphics/ploticus/patches/patch-src_gd__png.c.orig
deleted file mode 100644
index e015484b9f8..00000000000
--- a/graphics/ploticus/patches/patch-src_gd__png.c.orig
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-src_gd__png.c.orig,v 1.1 2013/06/30 15:13:09 ryoon Exp $
-
-* Fix build with png-1.5.
-
---- src/gd_png.c.orig 2010-03-02 21:01:01.000000000 +0000
-+++ src/gd_png.c
-@@ -268,7 +268,7 @@ gdImagePtr gdImageCreateFromPngCtx(gdIOC
- png_color_16p histogram;
-
- png_get_hIST(png_ptr, info_ptr, &histogram);
-- png_set_dither(png_ptr, palette, num_palette,
-+ png_set_quantize(png_ptr, palette, num_palette,
- max_screen_colors, histogram, 1);
- } else
- #endif
-@@ -294,7 +294,7 @@ gdImagePtr gdImageCreateFromPngCtx(gdIOC
- palette[2].red = palette[2].green = palette[2].blue = 128;
- palette[3].red = palette[3].green = palette[3].blue = 64;
- /* final argument (full_dither) *must* be 1: */
-- png_set_dither(png_ptr, palette, 256, 256, NULL, 1);
-+ png_set_quantize(png_ptr, palette, 256, 256, NULL, 1);
- #else
- /* allocate a 6x6x6 color cube, starting at index 0 or 1 */
- idx = (transparent < 0)? 0 : 1;
diff --git a/graphics/ploticus/patches/patch-src_tdhkit.c.orig b/graphics/ploticus/patches/patch-src_tdhkit.c.orig
deleted file mode 100644
index 525be5d4273..00000000000
--- a/graphics/ploticus/patches/patch-src_tdhkit.c.orig
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_tdhkit.c.orig,v 1.1 2013/06/30 15:13:09 ryoon Exp $
-
-* Include stdlib.h for putenv(3).
-
---- src/tdhkit.c.orig 2008-01-11 16:48:13.000000000 +0000
-+++ src/tdhkit.c
-@@ -13,6 +13,7 @@
-
-
- #include "tdhkit.h"
-+#include <stdlib.h>
- #include <ctype.h>
-
- extern int DT_setdateparms();