FreeBSD Bugzilla – Attachment 31648 Details for
Bug 52643
Update math/ploticus: 2.10 -> 2.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 8.82 KB, created by
Kirill Ponomarew
on 2003-05-24 14:40:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kirill Ponomarew
Created:
2003-05-24 14:40:13 UTC
Size:
8.82 KB
patch
obsolete
>diff -ruN ploticus.orig/Makefile ploticus/Makefile >--- ploticus.orig/Makefile Sat May 24 14:48:03 2003 >+++ ploticus/Makefile Sat May 24 14:58:04 2003 >@@ -7,7 +7,7 @@ > # > > PORTNAME= ploticus >-PORTVERSION= 2.10 >+PORTVERSION= 2.11 > CATEGORIES= math > MASTER_SITES= http://ploticus.sourceforge.net/download/ > DISTNAME= plsrc${PORTVERSION:S/.//} >diff -ruN ploticus.orig/distinfo ploticus/distinfo >--- ploticus.orig/distinfo Fri Jan 3 19:31:23 2003 >+++ ploticus/distinfo Sat May 24 14:58:45 2003 >@@ -1 +1 @@ >-MD5 (plsrc210.tar.gz) = 2f37a537f998e8894399871ebffb7711 >+MD5 (plsrc211.tar.gz) = c62dce203d8aeecb589c10ee9e585594 >diff -ruN ploticus.orig/files/patch-Makefile ploticus/files/patch-Makefile >--- ploticus.orig/files/patch-Makefile Sat Jan 4 13:13:36 2003 >+++ ploticus/files/patch-Makefile Thu Jan 1 01:00:00 1970 >@@ -1,82 +0,0 @@ >---- Makefile.orig Wed Dec 11 22:24:51 2002 >-+++ Makefile Sat Dec 14 01:30:46 2002 >-@@ -12,7 +12,7 @@ >- ######## Covered by GPL; see the file ./Copyright for details. >- >- # defaults.. >--CC = gcc >-+CC ?= gcc >- PLATFORM = UNIX >- RMCOM = rm -f >- XOBJ = x11.o interact.o >-@@ -25,14 +25,15 @@ >- ######## Choose one of the following. All others should be commented out. >- >- #### For Solaris 2.x uncomment the following.. >--XLIBS = -L/usr/openwin/lib -lX11 >--XINCLUDEDIR = -I/usr/openwin/include >-+# XLIBS = -L/usr/openwin/lib -lX11 >-+# XINCLUDEDIR = -I/usr/openwin/include >- >- #### For Linux and FreeBSD uncomment the following.. >--# XLIBS = -L/usr/X11R6/lib -lX11 >--# XINCLUDEDIR = -I/usr/X11R6/include >-+XLIBS = -L${X11BASE}/lib -lX11 >-+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 >-+FLAGS = -I${LOCALBASE}/include >-+ADDLIBS = -L${LOCALBASE}/lib >- >- #### For Cygwin uncomment the following.. >- # PLATFORM = WIN32 >-@@ -79,7 +80,7 @@ >- ######## Choose ONE of the following. All others should be commented out. >- >- #### For pseudo-GIF (only) uncomment the following.. (no libs required) >--ploticus: pl >-+# ploticus: pl >- >- #### For PNG (only) uncomment the following.. (you must have libpng and zlib) >- # ploticus: plpng >-@@ -104,11 +105,11 @@ >- #### For JPEG, WBMP, PNG, with FreeType2, using your copy of GD 1.84 or higher, >- #### uncomment the following.. (you must have gd 1.84+, libpng, zlib, libjpeg, libfreetype) >- #### (set environment var GDFONTPATH to directory containing .ttf files) >--# ploticus: plgd18 >--# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype >--# GD18H = >--# GDFREETYPE = -DGDFREETYPE >--# ZFLAG = -DWZ >-+ploticus: plgd18 >-+GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype >-+GD18H = -I${LOCALBASE}/include/gd >-+GDFREETYPE = -DGDFREETYPE >-+ZFLAG = -DWZ >- >- #### To disable all GD image support (no GIF, PNG, JPEG, etc) uncomment the following.. >- # ploticus: plnogd >-@@ -126,11 +127,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 >--# PREFABS_DIR = "/usr/lib/ploticus" >-+PREFABS_DIR = "${PREFIX}/share/ploticus" >- >- #### For LOCALE support (non-roman alphabets & collation), uncomment the following.. >--# LOCALEOBJ = localef.o >--# LOCALE_FLAG = -DLOCALE >-+LOCALEOBJ = localef.o >-+LOCALE_FLAG = -DLOCALE >- >- #### If you want compressed svg (.svgz), and you selected "GIF only", "GIF & PNG", or "disable GD" above, >- #### uncomment the following. You need to have zlib. If necessary change -lz to location of zlib. >-@@ -165,7 +166,7 @@ >- >- LIBS = $(XLIBS) -lm $(ADDLIBS) >- >--CFLAGS = -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(FLAGS) $(LOCALE_FLAG) \ >-+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_rect.o proc_breakaxis.o \ >diff -ruN ploticus.orig/files/patch-reslimits.c ploticus/files/patch-reslimits.c >--- ploticus.orig/files/patch-reslimits.c Thu Mar 7 09:28:18 2002 >+++ ploticus/files/patch-reslimits.c Thu Jan 1 01:00:00 1970 >@@ -1,10 +0,0 @@ >---- 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/types.h> >- #include <sys/time.h> >- #include <sys/resource.h> >- >diff -ruN ploticus.orig/files/patch-src::Makefile ploticus/files/patch-src::Makefile >--- ploticus.orig/files/patch-src::Makefile Thu Jan 1 01:00:00 1970 >+++ ploticus/files/patch-src::Makefile Sat May 24 15:09:33 2003 >@@ -0,0 +1,88 @@ >+--- Makefile.orig Sat May 24 15:00:02 2003 >++++ Makefile Sat May 24 15:06:19 2003 >+@@ -23,7 +23,7 @@ >+ ######## Covered by GPL; see the file ./Copyright for details. >+ >+ # defaults.. >+-CC = gcc >++CC ?= gcc >+ PLATFORM = UNIX >+ RMCOM = rm -f >+ XOBJ = x11.o interact.o >+@@ -41,7 +41,8 @@ >+ XLIBS = -L/usr/X11R6/lib -lX11 >+ XINCLUDEDIR = -I/usr/X11R6/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 >++FLAGS = -I${LOCALBASE}/include >+ >+ #### For Solaris 2.x uncomment the following.. >+ # XLIBS = -L/usr/openwin/lib -lX11 >+@@ -105,11 +106,11 @@ >+ # ploticus: pl >+ >+ #### For PNG (only) uncomment the following.. (you must have libpng and zlib) >+-ploticus: plpng >+-PLPNG = pl >+-GD16LIBS = -lpng -lz >+-GD16H = >+-ZFLAG = -DWZ >++#ploticus: plpng >++#PLPNG = pl >++#GD16LIBS = -lpng -lz >++#GD16H = >++#ZFLAG = -DWZ >+ >+ #### For both pseudo-GIF & PNG uncomment the following.. (you must have libpng and zlib) >+ # ploticus: pl plpng >+@@ -121,18 +122,18 @@ >+ #### (you must have gd 1.84+, libpng, zlib, libjpeg) >+ # ploticus: plgd18 >+ # GD18LIBS = -lgd -lpng -lz -ljpeg >+-# GD18H = >+-# GDFREETYPE = >++# GD18H = -I${LOCALBASE}/include/gd >++# GDFREETYPE = -DGDFREETYPE >+ # ZFLAG = -DWZ >+ >+ #### For JPEG, WBMP, PNG, and 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 >+-# GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype >+-# GD18H = >+-# GDFREETYPE = -DGDFREETYPE >+-# ZFLAG = -DWZ >++ploticus: plgd18 >++GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype >++GD18H = -I${LOCALBASE}/include/gd >++GDFREETYPE = -DGDFREETYPE >++ZFLAG = -DWZ >+ >+ #### To disable all GD image support (no PNG, JPEG, GIF, etc) uncomment the following.. >+ # ploticus: plnogd >+@@ -149,11 +150,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 >+-# PREFABS_DIR = "/usr/lib/ploticus" >++PREFABS_DIR = "${PREFIX}/share/ploticus" >+ >+ #### For LOCALE support (non-roman alphabets & collation), uncomment the following.. >+-# LOCALEOBJ = localef.o >+-# LOCALE_FLAG = -DLOCALE >++LOCALEOBJ = localef.o >++LOCALE_FLAG = -DLOCALE >+ >+ #### SVG output is always available by default. >+ #### If you want compressed SVG (.svgz), and you selected "GIF only", "GIF & PNG", or "disable GD" above, >+@@ -197,7 +198,7 @@ >+ >+ LIBS = $(XLIBS) -lm $(ADDLIBS) >+ >+-CFLAGS = -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(FLAGS) $(LOCALE_FLAG) \ >++CFLAGS += -DPLOTICUS -D$(PLATFORM) -DTDH_NOREC $(ZFLAG) $(FLAGS) $(LOCALE_FLAG) \ >+ $(NOGDFLAG) $(NOXFLAG) $(NOPSFLAG) $(NOSVGFLAG) $(NOSWFFLAG) $(XINCLUDEDIR) \ >+ $(MINGH) $(NORLIMFLAG) -DPREFABS_DIR=\"$(PREFABS_DIR)\" >+ >diff -ruN ploticus.orig/files/patch-src::reslimits.c ploticus/files/patch-src::reslimits.c >--- ploticus.orig/files/patch-src::reslimits.c Thu Jan 1 01:00:00 1970 >+++ ploticus/files/patch-src::reslimits.c Sat May 24 15:09:46 2003 >@@ -0,0 +1,10 @@ >+--- reslimits.c.orig Sat May 24 15:07:41 2003 >++++ reslimits.c Sat May 24 15:08:01 2003 >+@@ -9,6 +9,7 @@ >+ #ifndef NORLIMIT >+ >+ #include <stdio.h> >++#include <sys/types.h> >+ #include <sys/time.h> >+ #include <sys/resource.h> >+ >diff -ruN ploticus.orig/pkg-plist ploticus/pkg-plist >--- ploticus.orig/pkg-plist Sat Jan 4 13:13:36 2003 >+++ ploticus/pkg-plist Sat May 24 15:29:03 2003 >@@ -18,6 +18,7 @@ > %%PORTDOCS%%share/doc/ploticus/axis.html > %%PORTDOCS%%share/doc/ploticus/bars.html > %%PORTDOCS%%share/doc/ploticus/breakaxis.html >+%%PORTDOCS%%share/doc/ploticus/categories.html > %%PORTDOCS%%share/doc/ploticus/catslide.html > %%PORTDOCS%%share/doc/ploticus/cgi.html > %%PORTDOCS%%share/doc/ploticus/changes20.html >@@ -87,6 +88,7 @@ > %%PORTDOCS%%share/doc/ploticus/specialchars.html > %%PORTDOCS%%share/doc/ploticus/sql.html > %%PORTDOCS%%share/doc/ploticus/svg.html >+%%PORTDOCS%%share/doc/ploticus/swf.html > %%PORTDOCS%%share/doc/ploticus/symboldetails.html > %%PORTDOCS%%share/doc/ploticus/tabulate.html > %%PORTDOCS%%share/doc/ploticus/textdetails.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52643
: 31648