Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 14:04:06 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        freebsd-ports@freebsd.org
Subject:   patch for ghostscript-gnu and jade on -current
Message-ID:  <200204241204.g3OC46W35513@zibbi.icomtek.csir.co.za>

next in thread | raw e-mail | index | archive | help
Ok, I can build releases on -current again without having to set NODOC.
I just have to set EXPR_COMPAT and apply the patches at the end of this
email. I have tested these patches by building releases on both -stable
and -current. I guess the ghostscript-gnu patches can probably also be
apllied to the other ghostscript ports.

Anyone care to look at it and commit it or something that has the same
result?

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org


Index: print/ghostscript-gnu/files/patch-eplaser:gdevescv.c
===================================================================
RCS file: /home/ncvs/ports/print/ghostscript-gnu/files/patch-eplaser:gdevescv.c,v
retrieving revision 1.1
diff -u -r1.1 patch-eplaser:gdevescv.c
--- print/ghostscript-gnu/files/patch-eplaser:gdevescv.c	4 Apr 2002 02:03:09 -0000	1.1
+++ print/ghostscript-gnu/files/patch-eplaser:gdevescv.c	23 Apr 2002 18:07:21 -0000
@@ -1,6 +1,19 @@
---- eplaser/gdevescv.c.orig	Fri Dec 21 15:50:22 2001
-+++ eplaser/gdevescv.c	Fri Mar 15 04:27:39 2002
-@@ -1760,13 +1760,13 @@
+--- eplaser/gdevescv.c.orig	Fri Dec 21 08:50:22 2001
++++ eplaser/gdevescv.c	Tue Apr 23 20:07:05 2002
+@@ -37,8 +37,12 @@
+ 
+  */
+ 
++/*
+ #include <stdlib.h>
+ #include <unistd.h>
++*/
++
++#include <string.h>
+ 
+ #include "math_.h"
+ #include "gx.h"
+@@ -1760,13 +1764,13 @@
  
  /* Process the next piece of an image. */
  private int
@@ -16,7 +29,7 @@
      gx_device *dev = info->dev;
  #endif
      gx_device_vector *const	vdev = (gx_device_vector *) dev;
-@@ -1784,7 +1784,7 @@
+@@ -1784,7 +1788,7 @@
  
      {
  
@@ -25,7 +38,7 @@
  	if (height == 260)
  	    height = 1;
  #endif
-@@ -1922,13 +1922,13 @@
+@@ -1922,13 +1926,13 @@
  
  
  private int
Index: print/ghostscript-gnu/files/patch-eplaser:gdevesmv.c
===================================================================
RCS file: /home/ncvs/ports/print/ghostscript-gnu/files/patch-eplaser:gdevesmv.c,v
retrieving revision 1.1
diff -u -r1.1 patch-eplaser:gdevesmv.c
--- print/ghostscript-gnu/files/patch-eplaser:gdevesmv.c	4 Apr 2002 02:03:09 -0000	1.1
+++ print/ghostscript-gnu/files/patch-eplaser:gdevesmv.c	23 Apr 2002 18:07:45 -0000
@@ -1,6 +1,19 @@
---- eplaser/gdevesmv.c.orig	Fri Dec 14 10:50:14 2001
-+++ eplaser/gdevesmv.c	Fri Mar 15 04:28:41 2002
-@@ -1799,13 +1799,13 @@
+--- eplaser/gdevesmv.c.orig	Fri Dec 14 03:50:14 2001
++++ eplaser/gdevesmv.c	Tue Apr 23 20:07:39 2002
+@@ -34,8 +34,12 @@
+ 
+  */
+ 
++/*
+ #include <stdlib.h>
+ #include <unistd.h>
++*/
++
++#include <string.h>
+ 
+ #include "math_.h"
+ #include "gx.h"
+@@ -1799,13 +1803,13 @@
  
  /* Process the next piece of an image. */
  private int
@@ -16,7 +29,7 @@
      gx_device *dev = info->dev;
  #endif
      gx_device_vector *const	vdev = (gx_device_vector *) dev;
-@@ -1823,7 +1823,7 @@
+@@ -1823,7 +1827,7 @@
  
      {
  
@@ -25,7 +38,7 @@
  	if (height == 260)
  	    height = 1;
  #endif
-@@ -1980,13 +1980,13 @@
+@@ -1980,13 +1984,13 @@
  
  
  private int
Index: textproc/jade/files/patch-assert.cxx
===================================================================
RCS file: /home/ncvs/ports/textproc/jade/files/patch-assert.cxx,v
retrieving revision 1.1
diff -u -r1.1 patch-assert.cxx
--- textproc/jade/files/patch-assert.cxx	29 Apr 2001 06:03:34 -0000	1.1
+++ textproc/jade/files/patch-assert.cxx	23 Apr 2002 18:14:17 -0000
@@ -5,7 +5,7 @@
  
  #ifdef __GNUG__
 -void exit (int __status) __THROW __attribute__ ((__noreturn__));
-+void exit (int __status) throw () __attribute__ ((__noreturn__));
++//void exit (int) __attribute__ ((__noreturn__));
  #endif
  
  #ifdef SP_NAMESPACE

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204241204.g3OC46W35513>