diff options
author | nivit <nivit@FreeBSD.org> | 2007-12-20 06:26:11 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-12-20 06:26:11 +0800 |
commit | 3cd9c1ce0097b19c9d621511637ef7613e201d00 (patch) | |
tree | 3489d6a784da1a4da7cb91070cb180e4cd7fd334 /textproc | |
parent | c7c49b35d74aa2b263a17cda037ac68b915cbd11 (diff) | |
download | freebsd-ports-gnome-3cd9c1ce0097b19c9d621511637ef7613e201d00.tar.gz freebsd-ports-gnome-3cd9c1ce0097b19c9d621511637ef7613e201d00.tar.zst freebsd-ports-gnome-3cd9c1ce0097b19c9d621511637ef7613e201d00.zip |
- Update to 1.1
- Remove files/patch-gladtex
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gladtex/Makefile | 4 | ||||
-rw-r--r-- | textproc/gladtex/distinfo | 6 | ||||
-rw-r--r-- | textproc/gladtex/files/patch-eqn2img.c | 19 | ||||
-rw-r--r-- | textproc/gladtex/files/patch-gladtex | 15 |
4 files changed, 10 insertions, 34 deletions
diff --git a/textproc/gladtex/Makefile b/textproc/gladtex/Makefile index 4e42a8c97dd6..1c58ec4b68ea 100644 --- a/textproc/gladtex/Makefile +++ b/textproc/gladtex/Makefile @@ -6,8 +6,8 @@ # PORTNAME= gladtex -PORTVERSION= 0.3 -PORTREVISION= 1 +PORTVERSION= 1.1 +#PORTREVISION= 0 CATEGORIES= textproc math www MASTER_SITES= http://www.math.uio.no/~martingu/gladtex/dl/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/ diff --git a/textproc/gladtex/distinfo b/textproc/gladtex/distinfo index 258e15b45e3b..205ab0e5ead8 100644 --- a/textproc/gladtex/distinfo +++ b/textproc/gladtex/distinfo @@ -1,3 +1,3 @@ -MD5 (gladtex-0.3.tar.gz) = f01aa455cc4de0bd5b937255fb8142d9 -SHA256 (gladtex-0.3.tar.gz) = 8d6204427f3bcefd26a00b971683a4479fdf1a04a2176d2a60983bde239ef9b8 -SIZE (gladtex-0.3.tar.gz) = 29730 +MD5 (gladtex-1.1.tar.gz) = 720fef12b36bb65b6e67e5d38c2d4749 +SHA256 (gladtex-1.1.tar.gz) = d299419c46822df1b0b5dc63d780a7d546264be985cb738ee0a7a64280a210fc +SIZE (gladtex-1.1.tar.gz) = 19762 diff --git a/textproc/gladtex/files/patch-eqn2img.c b/textproc/gladtex/files/patch-eqn2img.c index f49db0a4a36c..cb48cd7ba0ca 100644 --- a/textproc/gladtex/files/patch-eqn2img.c +++ b/textproc/gladtex/files/patch-eqn2img.c @@ -1,21 +1,12 @@ $FreeBSD$ ---- eqn2img.c Tue Nov 5 18:10:13 2002 -+++ eqn2img.c.port Sat Feb 4 21:29:22 2006 -@@ -675,7 +675,7 @@ +--- eqn2img.c 2007-10-05 17:51:48.000000000 +0200 ++++ eqn2img.c.port 2007-12-19 14:08:52.000000000 +0100 +@@ -691,7 +691,7 @@ fprintf(stderr, " -> ps"); cmd = NEW(char, 2*strlen(basename) + 35); -- sprintf(cmd, "dvips -E -o %s.ps %s.dvi &> /dev/null", basename, basename); -+ sprintf(cmd, "dvips -q -E -o %s.ps %s.dvi", basename, basename); +- sprintf(cmd, "dvips -E -o %s.ps %s.dvi > /dev/null 2>&1", basename, basename); ++ sprintf(cmd, "dvips -q -E -o %s.ps %s.dvi > /dev/null 2>&1", basename, basename); if(system(cmd)) { fprintf(stderr, "\nError running dvips\n"); return -1; -@@ -714,7 +714,7 @@ - basename, dpi*supersample, xsize, ysize, basename); - gs = popen(cmd, "w"); - fprintf(gs, "%i neg %i neg translate\n", xoffset, yoffset); -- fclose(gs); -+ pclose(gs); - sprintf(cmd, "%s.ps", basename); - unlink(cmd); - free(cmd); diff --git a/textproc/gladtex/files/patch-gladtex b/textproc/gladtex/files/patch-gladtex deleted file mode 100644 index ce4d6fdef7ec..000000000000 --- a/textproc/gladtex/files/patch-gladtex +++ /dev/null @@ -1,15 +0,0 @@ -$FreeBSD$ ---- gladtex Tue Nov 5 18:07:14 2002 -+++ gladtex.port Sat Feb 4 21:37:09 2006 -@@ -116,9 +116,9 @@ - # remove ./ - $dest =~ s/\.\///g; - # remove // -- while($dest =~ s{//}{/}gc) {}; -+ while($dest =~ s{//}{/}g) {}; - # remove ../ -- while($dest =~ s{/([^/]*/)\.\./}{$1}gc) {}; -+ while($dest =~ s{/([^/]*/)\.\./}{$1}g) {}; - # remove trailing / - $dest =~ s/\/$//; - |