aboutsummaryrefslogtreecommitdiffstats
path: root/math/ploticus/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-07 16:28:18 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-07 16:28:18 +0800
commitfa7e9f4ccb8406f5d5666e50e7f374f9330207fa (patch)
treed0214bb505e77a1d39c6823113ec21f999e1a785 /math/ploticus/files
parent16d37c68f5004ed6aede3d04b2fcdcadb49743df (diff)
downloadfreebsd-ports-gnome-fa7e9f4ccb8406f5d5666e50e7f374f9330207fa.tar.gz
freebsd-ports-gnome-fa7e9f4ccb8406f5d5666e50e7f374f9330207fa.tar.zst
freebsd-ports-gnome-fa7e9f4ccb8406f5d5666e50e7f374f9330207fa.zip
upgrade to 2.03
Diffstat (limited to 'math/ploticus/files')
-rw-r--r--math/ploticus/files/patch-Makefile52
-rw-r--r--math/ploticus/files/patch-reslimits.c11
2 files changed, 30 insertions, 33 deletions
diff --git a/math/ploticus/files/patch-Makefile b/math/ploticus/files/patch-Makefile
index 8ee40905fe00..4224b257f34e 100644
--- a/math/ploticus/files/patch-Makefile
+++ b/math/ploticus/files/patch-Makefile
@@ -1,15 +1,6 @@
---- Makefile.orig Wed Jan 23 22:23:20 2002
-+++ Makefile Wed Jan 23 22:36:17 2002
-@@ -13,7 +13,7 @@
- ######## Covered by GPL; see the file ./Copyright for details.
-
- # defaults..
--CC = gcc
-+#CC = gcc
- PLATFORM = UNIX
- RMCOM = rm -f
- XOBJ = x11.o sleep.o interact.o
-@@ -26,12 +26,12 @@
+--- Makefile.orig Thu Mar 7 16:10:46 2002
++++ Makefile Thu Mar 7 16:10:50 2002
+@@ -22,14 +22,14 @@
######## Choose one of the following. All others should be commented out.
#### For Solaris 2.x uncomment the following..
@@ -22,37 +13,46 @@
-# XLIBS = -L/usr/X11R6/lib -lX11
-# XINCLUDEDIR = -I/usr/X11R6/include
+XLIBS = -L%%X11BASE%%/lib -lX11
-+XINCLUDEDIR = -I/usr/X11R6/include
++XINCLUDEDIR = -I%%X11BASE%%/include
+ #### For FreeBSD uncomment the following and find GD16H or GD18H below and set to -I/usr/local/include
+-# ADDLIBS = -L/usr/local/lib
++ADDLIBS = -L%%LOCALBASE%%/lib
#### For Cygwin uncomment the following..
# PLATFORM = WIN32
-@@ -79,7 +79,7 @@
- ######## Choose ONE of the following. All others should be commented out.
+@@ -87,11 +87,11 @@
+ # ZFLAG = -DWZ
- #### For pseudo-GIF uncomment the following.. (no libs required)
--ploticus: pl pltab
-+#ploticus: pl pltab
+ #### For both pseudo-GIF & PNG uncomment the following.. (you must have libpng and zlib)
+-ploticus: pl plpng
++#ploticus: pl plpng
+ # GD16LIBS = -lpng -lz
+ # GD16H =
+-GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
+-GD16H = -I/home/scg/lib
++#GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
++#GD16H = -I/home/scg/lib
- #### For PNG uncomment the following.. (you must have libpng and zlib)
- # ploticus: plpng pltabpng
-@@ -105,11 +105,11 @@
+ #### For JPEG, WBMP, and PNG using your copy of GD 1.84+ uncomment the following..
+ #### (you must have gd 1.84+, libpng, zlib, libjpeg)
+@@ -104,11 +104,11 @@
#### For JPEG, WBMP, and PNG & FreeType2 using your copy of GD 1.84+ uncomment the following..
#### (you must have gd 1.84+, libpng, zlib, libjpeg, libfreetype)
#### Before using set environment var GDFONTPATH to directory containing .ttf files
--# ploticus: plgd18 pltabgd18
+-# ploticus: plgd18
-# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
-# GD18H =
-# GDFREETYPE = -DGDFREETYPE
-# ZFLAG = -DWZ
-+ploticus: plgd18 pltabgd18
++ploticus: plgd18
+GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
+GD18H = -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/gd -I%%LOCALBASE%%/include/freetype2
+GDFREETYPE = -DGDFREETYPE
+ZFLAG = -DWZ
#### To disable GD image support (no GIF, PNG, JPEG, etc) uncomment the following..
- # ploticus: plnogd pltabnogd
-@@ -123,11 +123,11 @@
+ # ploticus: plnogd
+@@ -122,11 +122,11 @@
#### To set a hard-coded directory for prefabs files, uncomment & edit the following..
#### If done, users won't be required to have PLOTICUS_PREFABS environment variable defined.
#### This option not available for win32
@@ -78,4 +78,4 @@
+CFLAGS += -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(FLAGS) $(LOCALE_FLAG) \
$(NOGDFLAG) $(NOXFLAG) $(XINCLUDEDIR) $(NORLIMFLAG) -DPREFABS_DIR=\"$(PREFABS_DIR)\"
- OBJ = proc_annotate.o proc_areadef.o proc_axis.o proc_bars.o proc_bevelrect.o proc_breakaxis.o \
+ OBJ = proc_annotate.o proc_areadef.o proc_axis.o proc_bars.o proc_rect.o proc_breakaxis.o \
diff --git a/math/ploticus/files/patch-reslimits.c b/math/ploticus/files/patch-reslimits.c
index 3623e527397c..4c7166e36726 100644
--- a/math/ploticus/files/patch-reslimits.c
+++ b/math/ploticus/files/patch-reslimits.c
@@ -1,13 +1,10 @@
---- reslimits.c.orig Wed Jan 23 22:39:27 2002
-+++ reslimits.c Wed Jan 23 22:41:29 2002
-@@ -9,8 +9,9 @@
+--- reslimits.c.orig Thu Mar 7 16:11:25 2002
++++ reslimits.c Thu Mar 7 16:11:48 2002
+@@ -9,6 +9,7 @@
#ifndef NORLIMIT
#include <stdio.h>
--#include <sys/resource.h>
+#include <sys/types.h>
#include <sys/time.h>
-+#include <sys/resource.h>
+ #include <sys/resource.h>
- reslimits( type, value )
- char *type;