packages: openjade/openjade.spec, openjade/openjade-gcc4.patch (NEW) - fix ...

tommat tommat at pld-linux.org
Thu Jun 25 18:35:29 CEST 2009


Author: tommat                       Date: Thu Jun 25 16:35:29 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build on gcc 4

---- Files affected:
packages/openjade:
   openjade.spec (1.75 -> 1.76) , openjade-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/openjade/openjade.spec
diff -u packages/openjade/openjade.spec:1.75 packages/openjade/openjade.spec:1.76
--- packages/openjade/openjade.spec:1.75	Wed Sep  5 16:47:34 2007
+++ packages/openjade/openjade.spec	Thu Jun 25 18:35:23 2009
@@ -13,6 +13,7 @@
 # Source0-md5:	cbf3d8be3e3516dcb12b751de822b48c
 Patch0:		%{name}-nls-from-1.4.patch
 Patch1:		%{name}-as-needed.patch
+Patch2:		%{name}-gcc4.patch
 URL:		http://openjade.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -70,6 +71,7 @@
 %setup -q -n %{name}-%{version}-%{_pre}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 LDFLAGS=""; export LDFLAGS
@@ -156,6 +158,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2009/06/25 16:35:23  tommat
+- fix build on gcc 4
+
 Revision 1.75  2007/09/05 14:47:34  baggins
 - rel 10
 

================================================================
Index: packages/openjade/openjade-gcc4.patch
diff -u /dev/null packages/openjade/openjade-gcc4.patch:1.1
--- /dev/null	Thu Jun 25 18:35:29 2009
+++ packages/openjade/openjade-gcc4.patch	Thu Jun 25 18:35:23 2009
@@ -0,0 +1,23 @@
+diff -Nur openjade-1.3.3-pre1-orig/jade/TeXFOTBuilder.cxx openjade-1.3.3-pre1/jade/TeXFOTBuilder.cxx
+--- openjade-1.3.3-pre1-orig/jade/TeXFOTBuilder.cxx	2002-01-15 11:35:37.000000000 +0100
++++ openjade-1.3.3-pre1/jade/TeXFOTBuilder.cxx	2009-06-25 17:59:18.000000000 +0200
+@@ -20,7 +20,7 @@
+ #define OUTLINES
+ #undef DEBUG_OUTLINES
+ #ifdef DEBUG_OUTLINES
+-#include <iostream.h>
++#include <iostream>
+ #endif
+ #include <assert.h>
+ 
+diff -Nur openjade-1.3.3-pre1-orig/style/MultiLineInlineNote.cxx openjade-1.3.3-pre1/style/MultiLineInlineNote.cxx
+--- openjade-1.3.3-pre1-orig/style/MultiLineInlineNote.cxx	2003-04-18 21:54:56.000000000 +0200
++++ openjade-1.3.3-pre1/style/MultiLineInlineNote.cxx	2009-06-25 17:59:44.000000000 +0200
+@@ -1,6 +1,6 @@
+ 
+ #include "MultiLineInlineNote.h"
+-#include <iostream.h>
++#include <iostream>
+ 
+ #ifdef DSSSL_NAMESPACE
+ namespace DSSSL_NAMESPACE {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openjade/openjade.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list