OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 27-Jun-2003 14:18:05
Branch: HEAD Handle: 2003062713180301
Added files:
openpkg-src/opensp opensp.patch
Modified files:
openpkg-src/opensp opensp.spec
openpkg-web news.txt
Log:
fix C++ declaration order, gcc3.3 is more pedantic
Summary:
Revision Changes Path
1.1 +58 -0 openpkg-src/opensp/opensp.patch
1.11 +5 -3 openpkg-src/opensp/opensp.spec
1.5038 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/opensp/opensp.patch
============================================================================
$ cvs diff -u -r0 -r1.1 opensp.patch
--- /dev/null 2003-06-27 14:18:05.000000000 +0200
+++ opensp.patch 2003-06-27 14:18:05.000000000 +0200
@@ -0,0 +1,58 @@
+--- include/Attribute.h.dist 2003-06-27 14:13:01.000000000 +0200
++++ include/Attribute.h 2003-06-27 14:15:54.000000000 +0200
+@@ -31,6 +31,27 @@
+ class AttributeContext;
+ class Syntax;
+
++class SP_API AttributeValue : public Resource {
++public:
++ enum Type {
++ implied,
++ cdata,
++ tokenized
++ };
++ AttributeValue();
++ virtual ~AttributeValue();
++ virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
++ AttributeContext &,
++ const StringC &,
++ unsigned &,
++ unsigned &) const;
++ virtual Type info(const Text *&, const StringC *&) const = 0;
++ virtual const Text *text() const;
++ virtual Boolean recoverUnquoted(const StringC &, const Location &,
++ AttributeContext &, const StringC &);
++ static Boolean handleAsUnterminated(const Text &, AttributeContext &);
++};
++
+ class SP_API AttributeDefinitionDesc {
+ public:
+ AttributeDefinitionDesc() { }
+@@ -380,27 +401,6 @@
+ ConstPtr<Notation> notation_;
+ };
+
+-class SP_API AttributeValue : public Resource {
+-public:
+- enum Type {
+- implied,
+- cdata,
+- tokenized
+- };
+- AttributeValue();
+- virtual ~AttributeValue();
+- virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
+- AttributeContext &,
+- const StringC &,
+- unsigned &,
+- unsigned &) const;
+- virtual Type info(const Text *&, const StringC *&) const = 0;
+- virtual const Text *text() const;
+- virtual Boolean recoverUnquoted(const StringC &, const Location &,
+- AttributeContext &, const StringC &);
+- static Boolean handleAsUnterminated(const Text &, AttributeContext &);
+-};
+-
+ class SP_API ImpliedAttributeValue : public AttributeValue {
+ public:
+ ImpliedAttributeValue();
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/opensp/opensp.spec
============================================================================
$ cvs diff -u -r1.10 -r1.11 opensp.spec
--- openpkg-src/opensp/opensp.spec 7 Mar 2003 15:38:09 -0000 1.10
+++ openpkg-src/opensp/opensp.spec 27 Jun 2003 12:18:04 -0000 1.11
@@ -33,10 +33,11 @@
Group: SGML
License: GPL
Version: 1.5
-Release: 20030307
+Release: 20030627
# list of sources
Source0: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
+Patch0: opensp.patch
# build information
Prefix: %{l_prefix}
@@ -53,10 +54,11 @@
%prep
%setup -q -n OpenSP-%{version}
+ %patch -p0
%build
- CC="%{l_cc}" \
- CXX="%{l_cxx}" \
+ CC="/usr/bin/cc" \
+ CXX="/usr/bin/c++" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
CPPFLAGS="%{l_cppflags}" \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5037 -r1.5038 news.txt
--- openpkg-web/news.txt 27 Jun 2003 10:55:41 -0000 1.5037
+++ openpkg-web/news.txt 27 Jun 2003 12:18:03 -0000 1.5038
@@ -1,3 +1,4 @@
+27-Jun-2003: Upgraded package: P<opensp-1.5-20030627>
27-Jun-2003: Upgraded package: P<pango-1.2.3-20030627>
27-Jun-2003: Upgraded package: P<php-4.3.2-20030627>
27-Jun-2003: Upgraded package: P<openldap-2.1.22-20030627>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]