OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 24-Jun-2004 12:37:06
Branch: HEAD Handle: -NONE-
Modified files:
openpkg-src/pstoedit pstoedit.patch pstoedit.spec
Log:
fix superfluous semicolon; get rid of warnings about unsupported C++
warnings ;-)
Summary:
Revision Changes Path
1.2 +0 -0 openpkg-src/pstoedit/pstoedit.patch
1.17 +0 -0 openpkg-src/pstoedit/pstoedit.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pstoedit/pstoedit.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 pstoedit.patch
--- openpkg-src/pstoedit/pstoedit.patch 16 Jul 2003 08:32:43 -0000 1.1
+++ openpkg-src/pstoedit/pstoedit.patch 24 Jun 2004 10:37:06 -0000 1.2
@@ -76,3 +76,216 @@
// for directory search
#if HAVE_DIRENT_H
#include <dirent.h>
+Index: src/lexyy.cpp
+--- src/lexyy.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/lexyy.cpp 2004-06-24 12:22:17 +0200
+@@ -1411,7 +1411,7 @@
+
+ static inline int toInt(const float f) {
+ return (f > 0.0f) ? (int)(f+0.5f) : (int)(f-0.5f);
+-};
++}
+
+
+
+Index: src/poptions.cpp
+--- src/poptions.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/poptions.cpp 2004-06-24 12:22:45 +0200
+@@ -40,7 +40,7 @@
+ cout << "missing integer argument for " << optname << " option:" <<
endl;
+ return false;
+ }
+-};
++}
+ const char *IntValueExtractor::gettypename()
+ {
+ return "integer";
+@@ -59,7 +59,7 @@
+ cout << "missing double argument for " << optname << " option:" <<
endl;
+ return false;
+ }
+-};
++}
+ const char *DoubleValueExtractor::gettypename()
+ {
+ return "double";
+Index: src/drvlwo.cpp
+--- src/drvlwo.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvlwo.cpp 2004-06-24 12:23:04 +0200
+@@ -174,7 +174,7 @@
+ void drvLWO::show_path()
+ {
+ print_coords();
+-};
++}
+
+
+ static DriverDescriptionT < drvLWO > D_lwo("lwo", "LightWave 3D Object Format",
"lwo", false, // if backend supports subpathes, else 0
+Index: src/drvrib.cpp
+--- src/drvrib.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvrib.cpp 2004-06-24 12:23:30 +0200
+@@ -102,7 +102,7 @@
+ {
+ outf << "Color " << currentR() << " " << currentG() << " " << currentB() <<
endl;
+ print_coords();
+-};
++}
+
+
+ static DriverDescriptionT < drvRIB > D_rib("rib", "RenderMan Interface
Bytestream", "rib", false, // if backend supports subpathes, else 0
+Index: src/drvrpl.cpp
+--- src/drvrpl.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvrpl.cpp 2004-06-24 12:23:45 +0200
+@@ -92,7 +92,7 @@
+ void drvRPL::show_path()
+ {
+ print_coords();
+-};
++}
+
+ static DriverDescriptionT < drvRPL > D_rpl("rpl", "Real3D Programming Language
Format", "rpl", false, // if backend supports subpathes, else 0
+ //
if subpathes are supported, the backend must deal with
+Index: src/drvjava.cpp
+--- src/drvjava.cpp.orig 2003-01-05 13:14:05 +0100
++++ src/drvjava.cpp 2004-06-24 12:24:08 +0200
+@@ -231,7 +231,7 @@
+ break;
+ }
+ // outf << "\tcurrentLineWidth: " << currentLineWidth() << endl;
+-};
++}
+
+
+ static DriverDescriptionT < drvJAVA > D_java("java1", "java 1 applet source code",
"java", false, // if backend supports subpathes, else 0
+Index: src/drvjava2.cpp
+--- src/drvjava2.cpp.orig 2003-01-05 13:14:05 +0100
++++ src/drvjava2.cpp 2004-06-24 12:24:46 +0200
+@@ -302,7 +302,7 @@
+ print_coords();
+ outf << " currentPage.add(currentPath);" << endl;
+ numberOfElements++;
+-};
++}
+
+
+ void drvJAVA2::show_rectangle(const float llx, const float lly, const float urx,
const float ury)
+Index: src/drvsk.cpp
+--- src/drvsk.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvsk.cpp 2004-06-24 12:25:17 +0200
+@@ -214,7 +214,7 @@
+ outf << "b()\n";
+ print_coords();
+
+-};
++}
+
+ void drvSK::show_rectangle(const float llx, const float lly, const float urx,
const float ury)
+ {
+Index: src/drvmpost.cpp
+--- src/drvmpost.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvmpost.cpp 2004-06-24 12:25:37 +0200
+@@ -401,7 +401,7 @@
+ }
+ // Draw the path
+ print_coords();
+-};
++}
+
+ static DriverDescriptionT < drvMPOST > D_mpost("mpost", "MetaPost Format", "mp",
true, // if backend supports subpathes, else 0
+
// if subpathes are supported, the backend must deal with
+Index: src/drvmma.cpp
+--- src/drvmma.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvmma.cpp 2004-06-24 12:25:54 +0200
+@@ -239,7 +239,7 @@
+ outf << "AbsoluteThickness[" << mmaThickness << "],\n";
+ }
+ print_coords();
+-};
++}
+
+ void drvMMA::RGBColor(float R, float G, float B)
+ {
+Index: src/drvlatex2e.cpp
+--- src/drvlatex2e.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvlatex2e.cpp 2004-06-24 12:26:24 +0200
+@@ -328,7 +328,7 @@
+ }
+ // Output the path.
+ print_coords();
+-};
++}
+
+
+ // Draw a rectangle with \framebox.
+Index: src/drvpic.cpp
+--- src/drvpic.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvpic.cpp 2004-06-24 12:26:39 +0200
+@@ -425,7 +425,7 @@
+ outf << ".\\\" dashPattern: " << dashPattern() << endl;
+ }
+ print_coords();
+-};
++}
+
+ static DriverDescriptionT < drvPIC > D_PIC("pic", "PIC format for troff et.al.",
"pic", true, // backend supports subpathes
+ //
if subpathes are supported, the backend must deal with
+Index: src/drvtk.cpp
+--- src/drvtk.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvtk.cpp 2004-06-24 12:27:20 +0200
+@@ -1220,7 +1220,7 @@
+ if (strcmp(tagNames, "") && !noImPress) {
+ buffer << "set Group($Global(CurrentCanvas),$i) \"" << tagNames <<
"\"" << endl;
+ }
+-};
++}
+
+
+ static DriverDescriptionT < drvTK > D_tk("tk", "tk and/or tk applet source code",
"tk", false, // backend supports subpathes
+Index: src/drvgnplt.cpp
+--- src/drvgnplt.cpp.orig 2003-01-05 13:14:05 +0100
++++ src/drvgnplt.cpp 2004-06-24 12:27:39 +0200
+@@ -60,7 +60,7 @@
+ const Point & p = pathElement(n).getPoint(0);
+ outf << p.x_ << " " << p.y_ << "\n";
+ }
+-};
++}
+
+
+ static DriverDescriptionT < drvGNUPLOT > D_gnuplot("gnuplot", "gnuplot format",
"gnuplot", false, // if backend supports subpathes
+Index: src/drvtgif.cpp
+--- src/drvtgif.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvtgif.cpp 2004-06-24 12:28:02 +0200
+@@ -356,7 +356,7 @@
+ }
+ buffer << "\",[" << endl << "])." << endl;
+ }
+-};
++}
+
+ void drvTGIF::show_rectangle(const float llx, const float lly, const float urx,
const float ury)
+ {
+Index: src/drvidraw.cpp
+--- src/drvidraw.cpp.orig 2003-01-05 13:14:05 +0100
++++ src/drvidraw.cpp 2004-06-24 12:28:31 +0200
+@@ -995,7 +995,7 @@
+ void drvIDRAW::show_path()
+ {
+ print_coords();
+-};
++}
+
+
+ void drvIDRAW::show_image(const PSImage & imageinfo)
+Index: src/drvsampl.cpp
+--- src/drvsampl.cpp.orig 2003-01-05 13:14:06 +0100
++++ src/drvsampl.cpp 2004-06-24 12:28:48 +0200
+@@ -163,7 +163,7 @@
+ outf << "\tPath Elements 0 to " << numberOfElementsInPath() - 1 << endl;
+ print_coords();
+
+-};
++}
+
+ void drvSAMPL::show_rectangle(const float llx, const float lly, const float urx,
const float ury)
+ {
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/pstoedit/pstoedit.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 pstoedit.spec
--- openpkg-src/pstoedit/pstoedit.spec 7 Feb 2004 17:58:12 -0000 1.16
+++ openpkg-src/pstoedit/pstoedit.spec 24 Jun 2004 10:37:06 -0000 1.17
@@ -34,7 +34,7 @@
Group: Converter
License: GPL
Version: 3.33
-Release: 20040207
+Release: 20040624
# list of sources
Source0:
http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/pstoedit-%{version}.tar.gz
@@ -64,6 +64,7 @@
%prep
%setup -q
%patch -p0
+ %{l_shtool} subst -e 's;-Wstrict-prototypes;;' configure
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]