[prev in list] [next in list] [prev in thread] [next in thread]
List: fink-users
Subject: Re: [Fink-users] Problems with dvips in texlive-base-0.20140523-5
From: Stefan Bruda <stefan () bruda ! ca>
Date: 2017-10-01 2:32:00
Message-ID: 22992.21408.83882.578169 () godel ! bruda ! ca
[Download RAW message or body]
Hello,
At 23:58 +0200 on 2017-9-30 jfbu wrote:
>
> > This being said, dvips continues to be broken on my system. I have
> > tested it with the simplest LaTeX file I could think of namely, the
> > following:
> >
> > \documentclass{article}
> > \begin{document}
> > test
> > \end{document}
> >
> > The produced DVI is fine, dvipdfm converts it into a PDF just fine,
> > yet dvips still chokes:
> >
> > < godel:~ > dvips a1.dvi
> > This is dvips(k) 5.994 Copyright 2014 Radical Eye Software (www.radicaleye.com)
> > ' TeX output 2017.09.30:1642' -> a1.ps
> > Abort trap: 6
>
> Could that be related to this MacPorts ticket?
> https://trac.macports.org/ticket/53974
Spot on again! With the patch from this ticket dvips appears to be as
good as new.
Thank you so very much.
Best regard,
Stefan
P.S. For the record, I modified texlive.info as follows:
--- /sw/fink/dists/stable/main/finkinfo/text/texlive.info 2017-09-13 09:31:57.000000000 -0400
+++ /sw/fink/dists/local/main/finkinfo/texlive.info 2017-09-30 21:55:43.000000000 -0400
@@ -2,7 +2,7 @@
Package: texlive%type_pkg[-nox]
Type: -nox (boolean)
Version: 0.20140523
-Revision: 5
+Revision: 6
GCC: 4.0
Description: Bundle package for TeX Live
Depends: %N-base (= %v-%r), texinfo, debianutils, texi2html
@@ -59,6 +59,8 @@
Source4-MD5: 720aa3dfd0e8d42524f28cdf4bd7247c
Source5: ftp://tug.org/historic/systems/texlive/2012/texlive-20120701-source.tar.xz
Source5-MD5: 1d38be7dac26440fd022a4708f454a2b
+PatchFile: texlive.patch
+PatchFile-MD5: c6df3d8ab336f1048dbd5d2849bf08c4
NoSourceDirectory: true
UseMaxBuildJobs: true
PatchScript: <<
@@ -120,6 +122,8 @@
# autoconf2.6ish patch for modern XQuartz paths
perl -pi -e "s|/usr/lpp/Xamples|/opt/X11|" $autoconf_configure
done
+
+ %{default_script}
<<
ConfigureParams: <<
--with-banner-add="/Fink" \
with the texlive.patch looking like this:
--- src.orig/texlive/texk/dvipsk/color.c 2017-09-30 19:42:25.000000000 -0400
+++ src/texlive/texk/dvipsk/color.c 2017-09-30 19:42:47.000000000 -0400
@@ -37,7 +37,7 @@
struct colorpage *next;
integer boploc; /* we use the bop loc as a page indicator */
char *bg;
- char colordat[2];
+ char *colordat;
} *colorhash[COLORHASH];
static char *cstack, *csp, *cend, *bg;
/*
@@ -84,6 +84,7 @@
for (i=0; i<COLORHASH; i++) {
for (p=colorhash[i]; p; p = q) {
q = p->next;
+ free(p->colordat);
free(p);
}
colorhash[i] = 0;
@@ -216,7 +217,8 @@
}
} else {
p = (struct colorpage *)mymalloc((integer)
- (strlen(cstack) + sizeof(struct colorpage) + MAXCOLORLEN));
+ (sizeof(struct colorpage)));
+ p->colordat = mymalloc(strlen(cstack) + MAXCOLORLEN + 2);
p->next = colorhash[h];
p->boploc = pageloc;
strcpy(p->colordat, cstack);
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic