[128893] trunk/dports/textproc/openjade

mf2k at macports.org mf2k at macports.org
Sat Nov 29 06:01:29 PST 2014


Revision: 128893
          https://trac.macports.org/changeset/128893
Author:   mf2k at macports.org
Date:     2014-11-29 06:01:29 -0800 (Sat, 29 Nov 2014)
Log Message:
-----------
openjade: Rename patchfiles per lint.

Modified Paths:
--------------
    trunk/dports/textproc/openjade/Portfile

Added Paths:
-----------
    trunk/dports/textproc/openjade/files/patch-GroveApp.h.diff
    trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx.diff
    trunk/dports/textproc/openjade/files/patch-Node.h.diff
    trunk/dports/textproc/openjade/files/patch-clang.diff
    trunk/dports/textproc/openjade/files/patch-delete_la_files.diff
    trunk/dports/textproc/openjade/files/patch-openjade-getoptperl.diff

Removed Paths:
-------------
    trunk/dports/textproc/openjade/files/clang.patch
    trunk/dports/textproc/openjade/files/delete_la_files.patch
    trunk/dports/textproc/openjade/files/openjade-getoptperl.patch
    trunk/dports/textproc/openjade/files/patch-GroveApp.h
    trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx
    trunk/dports/textproc/openjade/files/patch-Node.h

Modified: trunk/dports/textproc/openjade/Portfile
===================================================================
--- trunk/dports/textproc/openjade/Portfile	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/Portfile	2014-11-29 14:01:29 UTC (rev 128893)
@@ -21,12 +21,12 @@
 checksums       rmd160  3b12f6596a42c49a60cc07cd9b8f4c5fdf3bafd2 \
                 sha256  1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
 
-patchfiles      clang.patch \
-                patch-GroveApp.h \
-                patch-GroveBuilder.cxx \
-                patch-Node.h \
-                openjade-getoptperl.patch \
-                delete_la_files.patch
+patchfiles      patch-clang.diff \
+                patch-GroveApp.h.diff \
+                patch-GroveBuilder.cxx.diff \
+                patch-Node.h.diff \
+                patch-openjade-getoptperl.diff \
+                patch-delete_la_files.diff
 
 depends_lib     port:opensp
 depends_run     port:xmlcatmgr

Deleted: trunk/dports/textproc/openjade/files/clang.patch
===================================================================
--- trunk/dports/textproc/openjade/files/clang.patch	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/files/clang.patch	2014-11-29 14:01:29 UTC (rev 128893)
@@ -1,245 +0,0 @@
-diff -Nurd -x'*~' Makefile.comm.in Makefile.comm.in
---- Makefile.comm.in	2002-12-01 06:56:47.000000000 -0500
-+++ Makefile.comm.in	2007-04-23 03:55:18.000000000 -0400
-@@ -29,7 +29,7 @@
- 
- LIBS=@LIBS@
- DEFS=@DEFS@ -DDEFAULT_SCHEME_BUILTINS=\"${datadir}/builtins.dsl\"
--INCS=-I$(srcdir) -I$(srcdir)/../include -I$(spincludedir) -I$(spincludedir)/.. $(INCLUDE)
-+INCS=-I$(srcdir) -I$(srcdir)/../include $(INCLUDE) -I$(spincludedir) -I$(spincludedir)/..
- CXXFLAGS=@CXXFLAGS@ $(INCS) $(DEBUG) $(DEFS)
- CFLAGS=@CFLAGS@ $(DEBUG) $(DEFS)
- LDFLAGS=@LDFLAGS@
-diff -Nurd -x'*~' Makefile.lib.in Makefile.lib.in
---- Makefile.lib.in	2002-01-22 06:57:53.000000000 -0500
-+++ Makefile.lib.in	2007-04-23 03:40:08.000000000 -0400
-@@ -23,7 +23,7 @@
- 	echo 'LT_OBJS='`echo $(OBJS)|sed 's/\.o/.lo/g'` >Makefile.lt
- 
- lib$(LIB).la: $(LT_OBJS)
--	$(LIBTOOL) --mode=link $(CC) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
-+	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
- 	    -rpath $(libdir) -version-info $(LTVERSION) $(DEPLIBS)
- 
- install:
-diff -Nurd -x'*~' Makefile.prog.in Makefile.prog.in
---- Makefile.prog.in	2002-01-22 06:57:53.000000000 -0500
-+++ Makefile.prog.in	2007-04-23 03:40:08.000000000 -0400
-@@ -12,14 +12,14 @@
- 
- ALL_LIBS = $(XLIBS) $(LIBS)
- Makefile.lt:
--	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
-+	echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'` >Makefile.lt
- 
- PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
- 
- all: $(PROG)
- 
- $(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
--	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)
-+	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS) $(LIBS)
- 
- install: $(PROG)
- 	-test -d $(DESTDIR)$(bindir) || \
-diff -Nurd -x'*~' config/ltmain.sh config/ltmain.sh
---- config/ltmain.sh	2002-01-17 08:45:52.000000000 -0500
-+++ config/ltmain.sh	2007-04-23 03:40:08.000000000 -0400
-@@ -2858,6 +2858,11 @@
- 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
- 	  eval cmds=\"$archive_expsym_cmds\"
- 	else
-+          if test "x$verstring" = "x0.0"; then
-+            tmp_verstring=
-+          else
-+            tmp_verstring="$verstring"
-+          fi
- 	  eval cmds=\"$archive_cmds\"
- 	fi
- 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
-@@ -3913,10 +3918,10 @@
- 
- # Directory that this library needs to be installed in:
- libdir='$install_libdir'"
--	  if test "$installed" = no && test $need_relink = yes; then
--	    $echo >> $output "\
--relink_command=\"$relink_command\""
--	  fi
-+#	  if test "$installed" = no && test $need_relink = yes; then
-+#	    $echo >> $output "\
-+#relink_command=\"$relink_command\""
-+#	  fi
- 	done
-       fi
- 
-diff -Nurd -x'*~' configure configure
---- configure	2002-12-01 11:18:40.000000000 -0500
-+++ configure	2007-04-23 03:40:08.000000000 -0400
-@@ -3063,8 +3063,8 @@
- 
- 
- case "${host}" in
--  *-*-darwin*)
--    LINKFLAGS="-no-undefined"
-+  *darwin*)
-+    LINKFLAGS="-allow-undefined"
-     ;;
-   *)
-     if test "$GXX"
-@@ -7907,11 +7907,11 @@
-     ;;
- 
-   darwin* | rhapsody*)
--    allow_undefined_flag='-undefined suppress'
-+    allow_undefined_flag='-undefined suppress -flat_namespace'
-     # FIXME: Relying on posixy $() will cause problems for
-     #        cross-compilation, but unfortunately the echo tests do not
-     #        yet detect zsh echo's removal of \ escapes.
--    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
-+    archive_cmds='$CXX $(test .$module = .yes && echo -bundle || echo  -dynamiclib) $allow_undefined_flag -o $lib $libs $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
-     # We need to add '_' to the symbols in $export_symbols first
-     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
-     hardcode_direct=yes
-@@ -9366,6 +9366,10 @@
- # Is the compiler the GNU C compiler?
- with_gcc=$GCC
- 
-+# The c++ compiler
-+
-+CXX=$ac_ct_CXX
-+
- # The linker used to build libraries.
- LD=$lt_LD
- 
-diff -Nurd -x'*~' spgrove/Makefile.sub spgrove/Makefile.sub
---- spgrove/Makefile.sub	2002-11-15 17:46:50.000000000 -0500
-+++ spgrove/Makefile.sub	2007-04-23 03:43:23.000000000 -0400
-@@ -1,8 +1,7 @@
- LTVERSION=0:1:0
- LIB=ospgrove
- INCLUDE=-I$(srcdir)/../grove
--DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
--	-L$(TOP)/lib -L$(TOP)/lib/.libs \
-+DEPLIBS=-lm \
- 	$(LIB_THREADS)
- OBJS=GroveApp.o GroveBuilder.o SdNode.o
- GENSRCS=grove_inst.cxx
-diff -Nurd -x'*~' style/Makefile.sub style/Makefile.sub
---- style/Makefile.sub	2002-11-15 17:46:50.000000000 -0500
-+++ style/Makefile.sub	2007-04-23 03:44:04.000000000 -0400
-@@ -1,8 +1,6 @@
- LTVERSION=0:1:0
- LIB=ostyle
--DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
--  -L$(TOP)/lib -L$(TOP)/lib/.libs \
--  -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs 
-+DEPLIBS=-lm
- OBJS=LangObj.o \
-   Collector.o \
-   DssslApp.o \
-diff -Naur jade/TeXFOTBuilder.cxx jade/TeXFOTBuilder.cxx
---- jade/TeXFOTBuilder.cxx	2002-01-15 10:35:37.000000000 +0000
-+++ jade/TeXFOTBuilder.cxx	2011-03-30 09:39:46.000000000 +0000
-@@ -75,6 +75,7 @@
-     virtual void end(TeXFOTBuilder &) const = 0;
-   };
-   class PageFloatFlowObj : public TeXCompoundExtensionFlowObj {
-+  public:
-     void start(TeXFOTBuilder &fotb, const NodePtr &) const {
-       fotb.startPageFloat(nic_);
-     }
-@@ -88,12 +89,14 @@
-       value.convertString(nic_.placement);
-       }
-     ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
-+    PageFloatFlowObj() {}
-   private:
-     PageFloatNIC nic_;
-     StringC name_;
-     StringC placement;
-   };
-   class PageFootnoteFlowObj : public TeXCompoundExtensionFlowObj {
-+  public:
-     void start(TeXFOTBuilder &fotb, const NodePtr &) const {
-       fotb.startPageFootnote();
-     }
-@@ -101,6 +104,7 @@
-       fotb.endPageFootnote();
-     }
-     ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
-+    PageFootnoteFlowObj() {}
-   private:
-   };
-   //////////////////////////////////////////////////////////////////////
-diff -Naur jade/TransformFOTBuilder.cxx jade/TransformFOTBuilder.cxx
---- jade/TransformFOTBuilder.cxx	2002-12-01 14:55:51.000000000 +0000
-+++ jade/TransformFOTBuilder.cxx	2011-03-30 09:38:48.000000000 +0000
-@@ -51,6 +51,7 @@
-       value.convertString(name_);
-     }
-     ExtensionFlowObj *copy() const { return new EntityRefFlowObj(*this); }
-+    EntityRefFlowObj() {}
-   private:
-     StringC name_;
-   };
-@@ -66,10 +67,12 @@
-       value.convertString(data_);
-     }
-     ExtensionFlowObj *copy() const { return new ProcessingInstructionFlowObj(*this); }
-+    ProcessingInstructionFlowObj() {}
-   private:
-     StringC data_;
-   };
-   class EmptyElementFlowObj : public TransformExtensionFlowObj {
-+  public:
-     void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
-       if (nic_.gi.size() > 0)
- 	fotb.emptyElement(nic_);
-@@ -98,10 +101,12 @@
-       }
-     }
-     ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
-+    EmptyElementFlowObj() {}
-   private:
-     ElementNIC nic_;
-   };
-   class ElementFlowObj : public TransformCompoundExtensionFlowObj {
-+  public:
-     void start(TransformFOTBuilder &fotb, const NodePtr &nd) const {
-       if (nic_.gi.size() > 0)
- 	fotb.startElement(nic_);
-@@ -133,10 +138,12 @@
-       }
-     }
-     ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
-+    ElementFlowObj() {}
-   private:
-     ElementNIC nic_;
-   };
-   class EntityFlowObj : public TransformCompoundExtensionFlowObj {
-+  public:
-     void start(TransformFOTBuilder &fotb, const NodePtr &) const {
-       fotb.startEntity(systemId_);
-     }
-@@ -150,10 +157,12 @@
-       value.convertString(systemId_);
-     }
-     ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
-+    EntityFlowObj() {}
-   private:
-     StringC systemId_;
-   };
-   class DocumentTypeFlowObj : public TransformExtensionFlowObj {
-+  public:
-     void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
-       fotb.documentType(nic_);
-     }
-@@ -174,6 +183,7 @@
-       }
-     }
-     ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
-+    DocumentTypeFlowObj() {}
-   private:
-     DocumentTypeNIC nic_;
-   };
-

Deleted: trunk/dports/textproc/openjade/files/delete_la_files.patch
===================================================================
--- trunk/dports/textproc/openjade/files/delete_la_files.patch	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/files/delete_la_files.patch	2014-11-29 14:01:29 UTC (rev 128893)
@@ -1,11 +0,0 @@
---- Makefile.prog.in.orig	2013-09-02 18:50:59.000000000 -0700
-+++ Makefile.prog.in	2013-09-02 18:52:56.000000000 -0700
-@@ -12,7 +12,7 @@ LINKFLAGS = @LINKFLAGS@
- 
- ALL_LIBS = $(XLIBS) $(LIBS)
- Makefile.lt:
--	echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'` >Makefile.lt
-+	echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'|sed 's|libosp\.la|libosp.dylib|'` >Makefile.lt
- 
- PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
- 

Deleted: trunk/dports/textproc/openjade/files/openjade-getoptperl.patch
===================================================================
--- trunk/dports/textproc/openjade/files/openjade-getoptperl.patch	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/files/openjade-getoptperl.patch	2014-11-29 14:01:29 UTC (rev 128893)
@@ -1,21 +0,0 @@
-diff -urNp openjade-1.3.2-orig/msggen.pl openjade-1.3.2/msggen.pl
---- openjade-1.3.2-orig/msggen.pl	2002-10-20 23:47:23.000000000 +0200
-+++ ./msggen.pl	2012-08-10 10:38:28.019081661 +0200
-@@ -4,6 +4,7 @@
- # See the file COPYING for copying permission.
- 
- use POSIX;
-+use Getopt::Std;
- 
- # Package and version.
- $package = 'openjade';
-@@ -18,8 +19,7 @@ $gen_c = 0;
- undef $opt_l;
- undef $opt_p;
- undef $opt_t;
--do 'getopts.pl';
--&Getopts('l:p:t:');
-+getopts('l:p:t:');
- $module = $opt_l;
- $pot_file = $opt_p;
- 

Deleted: trunk/dports/textproc/openjade/files/patch-GroveApp.h
===================================================================
--- trunk/dports/textproc/openjade/files/patch-GroveApp.h	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/files/patch-GroveApp.h	2014-11-29 14:01:29 UTC (rev 128893)
@@ -1,14 +0,0 @@
---- spgrove/GroveApp.h.orig	Sun May  2 21:57:37 1999
-+++ spgrove/GroveApp.h	Tue Aug  5 11:27:44 2003
-@@ -7,9 +7,9 @@
- #pragma interface
- #endif
- 
--#include "ParserApp.h"
-+#include <OpenSP/ParserApp.h>
- #include "GroveBuilder.h"
--#include "HashTable.h"
-+#include <OpenSP/HashTable.h>
- 
- #ifdef SP_NAMESPACE
- namespace SP_NAMESPACE {

Copied: trunk/dports/textproc/openjade/files/patch-GroveApp.h.diff (from rev 128890, trunk/dports/textproc/openjade/files/patch-GroveApp.h)
===================================================================
--- trunk/dports/textproc/openjade/files/patch-GroveApp.h.diff	                        (rev 0)
+++ trunk/dports/textproc/openjade/files/patch-GroveApp.h.diff	2014-11-29 14:01:29 UTC (rev 128893)
@@ -0,0 +1,14 @@
+--- spgrove/GroveApp.h.orig	Sun May  2 21:57:37 1999
++++ spgrove/GroveApp.h	Tue Aug  5 11:27:44 2003
+@@ -7,9 +7,9 @@
+ #pragma interface
+ #endif
+ 
+-#include "ParserApp.h"
++#include <OpenSP/ParserApp.h>
+ #include "GroveBuilder.h"
+-#include "HashTable.h"
++#include <OpenSP/HashTable.h>
+ 
+ #ifdef SP_NAMESPACE
+ namespace SP_NAMESPACE {

Deleted: trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx
===================================================================
--- trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx	2014-11-29 14:01:29 UTC (rev 128893)
@@ -1,42 +0,0 @@
---- spgrove/GroveBuilder.cxx.orig	Sun Nov 17 03:01:12 2002
-+++ spgrove/GroveBuilder.cxx	Tue Aug  5 11:27:44 2003
-@@ -4,26 +4,24 @@
- // FIXME location for SgmlDocument node.
- 
- #include "config.h"
--#include "Boolean.h"
-+#include <OpenSP/Boolean.h>
- #include "Node.h"
--#include "Resource.h"
--#include "Ptr.h"
--#include "xnew.h"
--#include "Event.h"
-+#include <OpenSP/Resource.h>
-+#include <OpenSP/Ptr.h>
-+#include <OpenSP/xnew.h>
-+#include <OpenSP/Event.h>
- #include "GroveBuilder.h"
--#include "ErrorCountEventHandler.h"
--#include "OutputCharStream.h"
--#include "MessageFormatter.h"
--#include "Dtd.h"
--#include "Syntax.h"
--#include "Attribute.h"
--#include "Vector.h"
-+#include <OpenSP/ErrorCountEventHandler.h>
-+#include <OpenSP/OutputCharStream.h>
-+#include <OpenSP/MessageFormatter.h>
-+#include <OpenSP/Dtd.h>
-+#include <OpenSP/Syntax.h>
-+#include <OpenSP/Attribute.h>
-+#include <OpenSP/Vector.h>
- #include "LocNode.h"
- #include "SdNode.h"
- #include "threads.h"
--#include "macros.h"
--#include <assert.h>
--#include <stdio.h>
-+#include <OpenSP/macros.h>
- 
- #ifdef _MSC_VER
- #pragma warning ( disable : 4250 ) // inherits via dominance

Copied: trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx.diff (from rev 128890, trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx)
===================================================================
--- trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx.diff	                        (rev 0)
+++ trunk/dports/textproc/openjade/files/patch-GroveBuilder.cxx.diff	2014-11-29 14:01:29 UTC (rev 128893)
@@ -0,0 +1,42 @@
+--- spgrove/GroveBuilder.cxx.orig	Sun Nov 17 03:01:12 2002
++++ spgrove/GroveBuilder.cxx	Tue Aug  5 11:27:44 2003
+@@ -4,26 +4,24 @@
+ // FIXME location for SgmlDocument node.
+ 
+ #include "config.h"
+-#include "Boolean.h"
++#include <OpenSP/Boolean.h>
+ #include "Node.h"
+-#include "Resource.h"
+-#include "Ptr.h"
+-#include "xnew.h"
+-#include "Event.h"
++#include <OpenSP/Resource.h>
++#include <OpenSP/Ptr.h>
++#include <OpenSP/xnew.h>
++#include <OpenSP/Event.h>
+ #include "GroveBuilder.h"
+-#include "ErrorCountEventHandler.h"
+-#include "OutputCharStream.h"
+-#include "MessageFormatter.h"
+-#include "Dtd.h"
+-#include "Syntax.h"
+-#include "Attribute.h"
+-#include "Vector.h"
++#include <OpenSP/ErrorCountEventHandler.h>
++#include <OpenSP/OutputCharStream.h>
++#include <OpenSP/MessageFormatter.h>
++#include <OpenSP/Dtd.h>
++#include <OpenSP/Syntax.h>
++#include <OpenSP/Attribute.h>
++#include <OpenSP/Vector.h>
+ #include "LocNode.h"
+ #include "SdNode.h"
+ #include "threads.h"
+-#include "macros.h"
+-#include <assert.h>
+-#include <stdio.h>
++#include <OpenSP/macros.h>
+ 
+ #ifdef _MSC_VER
+ #pragma warning ( disable : 4250 ) // inherits via dominance

Deleted: trunk/dports/textproc/openjade/files/patch-Node.h
===================================================================
--- trunk/dports/textproc/openjade/files/patch-Node.h	2014-11-29 13:57:30 UTC (rev 128892)
+++ trunk/dports/textproc/openjade/files/patch-Node.h	2014-11-29 14:01:29 UTC (rev 128893)
@@ -1,26 +0,0 @@
---- grove/Node.h.orig	Mon Oct 21 06:47:24 2002
-+++ grove/Node.h	Tue Aug  5 11:27:44 2003
-@@ -8,7 +8,8 @@
- #endif
- 
- #include <stddef.h>
--#include "IList.h"
-+#include <limits.h>
-+#include <OpenSP/IList.h>
- 
- #ifdef SP_USE_DLL
- #ifdef BUILD_LIBGROVE
-@@ -34,10 +35,10 @@
- #endif
- 
- #ifdef SP_MULTI_BYTE
--#ifdef SP_WCHAR_T_USHORT
--typedef wchar_t GroveChar;
--#else
-+#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
- typedef unsigned int GroveChar;
-+#else
-+typedef unsigned long GroveChar;
- #endif
- #else /* not SP_MULTI_BYTE */
- typedef unsigned char GroveChar;

Copied: trunk/dports/textproc/openjade/files/patch-Node.h.diff (from rev 128890, trunk/dports/textproc/openjade/files/patch-Node.h)
===================================================================
--- trunk/dports/textproc/openjade/files/patch-Node.h.diff	                        (rev 0)
+++ trunk/dports/textproc/openjade/files/patch-Node.h.diff	2014-11-29 14:01:29 UTC (rev 128893)
@@ -0,0 +1,26 @@
+--- grove/Node.h.orig	Mon Oct 21 06:47:24 2002
++++ grove/Node.h	Tue Aug  5 11:27:44 2003
+@@ -8,7 +8,8 @@
+ #endif
+ 
+ #include <stddef.h>
+-#include "IList.h"
++#include <limits.h>
++#include <OpenSP/IList.h>
+ 
+ #ifdef SP_USE_DLL
+ #ifdef BUILD_LIBGROVE
+@@ -34,10 +35,10 @@
+ #endif
+ 
+ #ifdef SP_MULTI_BYTE
+-#ifdef SP_WCHAR_T_USHORT
+-typedef wchar_t GroveChar;
+-#else
++#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
+ typedef unsigned int GroveChar;
++#else
++typedef unsigned long GroveChar;
+ #endif
+ #else /* not SP_MULTI_BYTE */
+ typedef unsigned char GroveChar;

Copied: trunk/dports/textproc/openjade/files/patch-clang.diff (from rev 128890, trunk/dports/textproc/openjade/files/clang.patch)
===================================================================
--- trunk/dports/textproc/openjade/files/patch-clang.diff	                        (rev 0)
+++ trunk/dports/textproc/openjade/files/patch-clang.diff	2014-11-29 14:01:29 UTC (rev 128893)
@@ -0,0 +1,245 @@
+diff -Nurd -x'*~' Makefile.comm.in Makefile.comm.in
+--- Makefile.comm.in	2002-12-01 06:56:47.000000000 -0500
++++ Makefile.comm.in	2007-04-23 03:55:18.000000000 -0400
+@@ -29,7 +29,7 @@
+ 
+ LIBS=@LIBS@
+ DEFS=@DEFS@ -DDEFAULT_SCHEME_BUILTINS=\"${datadir}/builtins.dsl\"
+-INCS=-I$(srcdir) -I$(srcdir)/../include -I$(spincludedir) -I$(spincludedir)/.. $(INCLUDE)
++INCS=-I$(srcdir) -I$(srcdir)/../include $(INCLUDE) -I$(spincludedir) -I$(spincludedir)/..
+ CXXFLAGS=@CXXFLAGS@ $(INCS) $(DEBUG) $(DEFS)
+ CFLAGS=@CFLAGS@ $(DEBUG) $(DEFS)
+ LDFLAGS=@LDFLAGS@
+diff -Nurd -x'*~' Makefile.lib.in Makefile.lib.in
+--- Makefile.lib.in	2002-01-22 06:57:53.000000000 -0500
++++ Makefile.lib.in	2007-04-23 03:40:08.000000000 -0400
+@@ -23,7 +23,7 @@
+ 	echo 'LT_OBJS='`echo $(OBJS)|sed 's/\.o/.lo/g'` >Makefile.lt
+ 
+ lib$(LIB).la: $(LT_OBJS)
+-	$(LIBTOOL) --mode=link $(CC) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
++	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
+ 	    -rpath $(libdir) -version-info $(LTVERSION) $(DEPLIBS)
+ 
+ install:
+diff -Nurd -x'*~' Makefile.prog.in Makefile.prog.in
+--- Makefile.prog.in	2002-01-22 06:57:53.000000000 -0500
++++ Makefile.prog.in	2007-04-23 03:40:08.000000000 -0400
+@@ -12,14 +12,14 @@
+ 
+ ALL_LIBS = $(XLIBS) $(LIBS)
+ Makefile.lt:
+-	echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
++	echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'` >Makefile.lt
+ 
+ PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
+ 
+ all: $(PROG)
+ 
+ $(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
+-	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)
++	$(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS) $(LIBS)
+ 
+ install: $(PROG)
+ 	-test -d $(DESTDIR)$(bindir) || \
+diff -Nurd -x'*~' config/ltmain.sh config/ltmain.sh
+--- config/ltmain.sh	2002-01-17 08:45:52.000000000 -0500
++++ config/ltmain.sh	2007-04-23 03:40:08.000000000 -0400
+@@ -2858,6 +2858,11 @@
+ 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ 	  eval cmds=\"$archive_expsym_cmds\"
+ 	else
++          if test "x$verstring" = "x0.0"; then
++            tmp_verstring=
++          else
++            tmp_verstring="$verstring"
++          fi
+ 	  eval cmds=\"$archive_cmds\"
+ 	fi
+ 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
+@@ -3913,10 +3918,10 @@
+ 
+ # Directory that this library needs to be installed in:
+ libdir='$install_libdir'"
+-	  if test "$installed" = no && test $need_relink = yes; then
+-	    $echo >> $output "\
+-relink_command=\"$relink_command\""
+-	  fi
++#	  if test "$installed" = no && test $need_relink = yes; then
++#	    $echo >> $output "\
++#relink_command=\"$relink_command\""
++#	  fi
+ 	done
+       fi
+ 
+diff -Nurd -x'*~' configure configure
+--- configure	2002-12-01 11:18:40.000000000 -0500
++++ configure	2007-04-23 03:40:08.000000000 -0400
+@@ -3063,8 +3063,8 @@
+ 
+ 
+ case "${host}" in
+-  *-*-darwin*)
+-    LINKFLAGS="-no-undefined"
++  *darwin*)
++    LINKFLAGS="-allow-undefined"
+     ;;
+   *)
+     if test "$GXX"
+@@ -7907,11 +7907,11 @@
+     ;;
+ 
+   darwin* | rhapsody*)
+-    allow_undefined_flag='-undefined suppress'
++    allow_undefined_flag='-undefined suppress -flat_namespace'
+     # FIXME: Relying on posixy $() will cause problems for
+     #        cross-compilation, but unfortunately the echo tests do not
+     #        yet detect zsh echo's removal of \ escapes.
+-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
++    archive_cmds='$CXX $(test .$module = .yes && echo -bundle || echo  -dynamiclib) $allow_undefined_flag -o $lib $libs $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
+     # We need to add '_' to the symbols in $export_symbols first
+     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+     hardcode_direct=yes
+@@ -9366,6 +9366,10 @@
+ # Is the compiler the GNU C compiler?
+ with_gcc=$GCC
+ 
++# The c++ compiler
++
++CXX=$ac_ct_CXX
++
+ # The linker used to build libraries.
+ LD=$lt_LD
+ 
+diff -Nurd -x'*~' spgrove/Makefile.sub spgrove/Makefile.sub
+--- spgrove/Makefile.sub	2002-11-15 17:46:50.000000000 -0500
++++ spgrove/Makefile.sub	2007-04-23 03:43:23.000000000 -0400
+@@ -1,8 +1,7 @@
+ LTVERSION=0:1:0
+ LIB=ospgrove
+ INCLUDE=-I$(srcdir)/../grove
+-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
+-	-L$(TOP)/lib -L$(TOP)/lib/.libs \
++DEPLIBS=-lm \
+ 	$(LIB_THREADS)
+ OBJS=GroveApp.o GroveBuilder.o SdNode.o
+ GENSRCS=grove_inst.cxx
+diff -Nurd -x'*~' style/Makefile.sub style/Makefile.sub
+--- style/Makefile.sub	2002-11-15 17:46:50.000000000 -0500
++++ style/Makefile.sub	2007-04-23 03:44:04.000000000 -0400
+@@ -1,8 +1,6 @@
+ LTVERSION=0:1:0
+ LIB=ostyle
+-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
+-  -L$(TOP)/lib -L$(TOP)/lib/.libs \
+-  -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs 
++DEPLIBS=-lm
+ OBJS=LangObj.o \
+   Collector.o \
+   DssslApp.o \
+diff -Naur jade/TeXFOTBuilder.cxx jade/TeXFOTBuilder.cxx
+--- jade/TeXFOTBuilder.cxx	2002-01-15 10:35:37.000000000 +0000
++++ jade/TeXFOTBuilder.cxx	2011-03-30 09:39:46.000000000 +0000
+@@ -75,6 +75,7 @@
+     virtual void end(TeXFOTBuilder &) const = 0;
+   };
+   class PageFloatFlowObj : public TeXCompoundExtensionFlowObj {
++  public:
+     void start(TeXFOTBuilder &fotb, const NodePtr &) const {
+       fotb.startPageFloat(nic_);
+     }
+@@ -88,12 +89,14 @@
+       value.convertString(nic_.placement);
+       }
+     ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
++    PageFloatFlowObj() {}
+   private:
+     PageFloatNIC nic_;
+     StringC name_;
+     StringC placement;
+   };
+   class PageFootnoteFlowObj : public TeXCompoundExtensionFlowObj {
++  public:
+     void start(TeXFOTBuilder &fotb, const NodePtr &) const {
+       fotb.startPageFootnote();
+     }
+@@ -101,6 +104,7 @@
+       fotb.endPageFootnote();
+     }
+     ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
++    PageFootnoteFlowObj() {}
+   private:
+   };
+   //////////////////////////////////////////////////////////////////////
+diff -Naur jade/TransformFOTBuilder.cxx jade/TransformFOTBuilder.cxx
+--- jade/TransformFOTBuilder.cxx	2002-12-01 14:55:51.000000000 +0000
++++ jade/TransformFOTBuilder.cxx	2011-03-30 09:38:48.000000000 +0000
+@@ -51,6 +51,7 @@
+       value.convertString(name_);
+     }
+     ExtensionFlowObj *copy() const { return new EntityRefFlowObj(*this); }
++    EntityRefFlowObj() {}
+   private:
+     StringC name_;
+   };
+@@ -66,10 +67,12 @@
+       value.convertString(data_);
+     }
+     ExtensionFlowObj *copy() const { return new ProcessingInstructionFlowObj(*this); }
++    ProcessingInstructionFlowObj() {}
+   private:
+     StringC data_;
+   };
+   class EmptyElementFlowObj : public TransformExtensionFlowObj {
++  public:
+     void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
+       if (nic_.gi.size() > 0)
+ 	fotb.emptyElement(nic_);
+@@ -98,10 +101,12 @@
+       }
+     }
+     ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
++    EmptyElementFlowObj() {}
+   private:
+     ElementNIC nic_;
+   };
+   class ElementFlowObj : public TransformCompoundExtensionFlowObj {
++  public:
+     void start(TransformFOTBuilder &fotb, const NodePtr &nd) const {
+       if (nic_.gi.size() > 0)
+ 	fotb.startElement(nic_);
+@@ -133,10 +138,12 @@
+       }
+     }
+     ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
++    ElementFlowObj() {}
+   private:
+     ElementNIC nic_;
+   };
+   class EntityFlowObj : public TransformCompoundExtensionFlowObj {
++  public:
+     void start(TransformFOTBuilder &fotb, const NodePtr &) const {
+       fotb.startEntity(systemId_);
+     }
+@@ -150,10 +157,12 @@
+       value.convertString(systemId_);
+     }
+     ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
++    EntityFlowObj() {}
+   private:
+     StringC systemId_;
+   };
+   class DocumentTypeFlowObj : public TransformExtensionFlowObj {
++  public:
+     void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
+       fotb.documentType(nic_);
+     }
+@@ -174,6 +183,7 @@
+       }
+     }
+     ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
++    DocumentTypeFlowObj() {}
+   private:
+     DocumentTypeNIC nic_;
+   };
+

Copied: trunk/dports/textproc/openjade/files/patch-delete_la_files.diff (from rev 128890, trunk/dports/textproc/openjade/files/delete_la_files.patch)
===================================================================
--- trunk/dports/textproc/openjade/files/patch-delete_la_files.diff	                        (rev 0)
+++ trunk/dports/textproc/openjade/files/patch-delete_la_files.diff	2014-11-29 14:01:29 UTC (rev 128893)
@@ -0,0 +1,11 @@
+--- Makefile.prog.in.orig	2013-09-02 18:50:59.000000000 -0700
++++ Makefile.prog.in	2013-09-02 18:52:56.000000000 -0700
+@@ -12,7 +12,7 @@ LINKFLAGS = @LINKFLAGS@
+ 
+ ALL_LIBS = $(XLIBS) $(LIBS)
+ Makefile.lt:
+-	echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'` >Makefile.lt
++	echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'|sed 's|libosp\.la|libosp.dylib|'` >Makefile.lt
+ 
+ PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
+ 

Copied: trunk/dports/textproc/openjade/files/patch-openjade-getoptperl.diff (from rev 128890, trunk/dports/textproc/openjade/files/openjade-getoptperl.patch)
===================================================================
--- trunk/dports/textproc/openjade/files/patch-openjade-getoptperl.diff	                        (rev 0)
+++ trunk/dports/textproc/openjade/files/patch-openjade-getoptperl.diff	2014-11-29 14:01:29 UTC (rev 128893)
@@ -0,0 +1,21 @@
+diff -urNp openjade-1.3.2-orig/msggen.pl openjade-1.3.2/msggen.pl
+--- openjade-1.3.2-orig/msggen.pl	2002-10-20 23:47:23.000000000 +0200
++++ ./msggen.pl	2012-08-10 10:38:28.019081661 +0200
+@@ -4,6 +4,7 @@
+ # See the file COPYING for copying permission.
+ 
+ use POSIX;
++use Getopt::Std;
+ 
+ # Package and version.
+ $package = 'openjade';
+@@ -18,8 +19,7 @@ $gen_c = 0;
+ undef $opt_l;
+ undef $opt_p;
+ undef $opt_t;
+-do 'getopts.pl';
+-&Getopts('l:p:t:');
++getopts('l:p:t:');
+ $module = $opt_l;
+ $pot_file = $opt_p;
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141129/df9aebde/attachment-0001.html>


More information about the macports-changes mailing list