mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
84fc70b00e
1. Fixed PostScript display error (has appeared with newer version of GS) 2. Put variables in order.
40 lines
1004 B
Plaintext
40 lines
1004 B
Plaintext
--- gs-view.c.orig Sat Jan 19 12:06:41 2002
|
|
+++ gs-view.c Sat Jan 19 12:10:26 2002
|
|
@@ -126,7 +126,7 @@
|
|
|
|
#ifdef PS_LITERAL
|
|
fflush(temp_ps_file);
|
|
- lseek(fileno(temp_ps_file), 0L, SEEK_SET);
|
|
+ lseek(fileno(temp_ps_file), (off_t)0, SEEK_SET);
|
|
#endif /* PS_LITERAL */
|
|
|
|
{
|
|
@@ -208,7 +208,7 @@
|
|
for (p = ps_headers; p != NULL; p = p->next)
|
|
argv[i++] = p->psheader;
|
|
#endif /* PS_HEADER */
|
|
- argv[i++] = "-";
|
|
+ argv[i++] = "-sOutputFile=-";
|
|
argv[i++] = gs->psfile;
|
|
argv[i++] = "quit.ps";
|
|
argv[i++] = NULL;
|
|
*** font_open.c.orig Sat Jan 13 18:29:22 1996
|
|
--- font_open.c Sat Jan 13 18:39:14 1996
|
|
***************
|
|
*** 137,143 ****
|
|
#else
|
|
#if NeedFunctionPrototypes
|
|
#if !defined(__386BSD__) && !defined(SVR4)
|
|
! extern char *getcwd (char *, int);
|
|
#endif
|
|
#else
|
|
extern char *getcwd ();
|
|
--- 137,143 ----
|
|
#else
|
|
#if NeedFunctionPrototypes
|
|
#if !defined(__386BSD__) && !defined(SVR4)
|
|
! extern char *getcwd (char *, size_t);
|
|
#endif
|
|
#else
|
|
extern char *getcwd ();
|