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: 18-Jun-2003 13:58:49
Branch: HEAD Handle: 2003061812584701
Modified files:
openpkg-src/transfig transfig.patch transfig.spec
openpkg-web news.txt
Log:
better compatibility with ANSI C compilers, fixes build with gcc3.3
Summary:
Revision Changes Path
1.2 +35 -2 openpkg-src/transfig/transfig.patch
1.4 +1 -1 openpkg-src/transfig/transfig.spec
1.4920 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/transfig/transfig.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 transfig.patch
--- openpkg-src/transfig/transfig.patch 12 Mar 2003 20:13:29 -0000 1.1
+++ openpkg-src/transfig/transfig.patch 18 Jun 2003 11:58:48 -0000 1.2
@@ -11,8 +11,16 @@
#endif
---- fig2dev/fig2dev.h.orig Thu Dec 19 07:45:28 2002
-+++ fig2dev/fig2dev.h Tue Jan 7 20:08:45 2003
+--- fig2dev/fig2dev.h.dist 2003-06-18 13:38:13.000000000 +0200
++++ fig2dev/fig2dev.h 2003-06-18 13:38:58.000000000 +0200
+@@ -22,7 +22,6 @@
+ #include <sys/file.h>
+ #include <signal.h>
+ #include <string.h>
+-#include <varargs.h>
+ #include <pwd.h>
+ #include <errno.h>
+ #include <time.h>
@@ -210,7 +210,7 @@
#endif /* MAXPATHLEN */
#endif /* PATH_MAX */
@@ -22,3 +30,28 @@
extern int sys_nerr, errno;
#endif
+--- fig2dev/dev/gensvg.c.dist 2003-06-18 13:53:55.000000000 +0200
++++ fig2dev/dev/gensvg.c 2003-06-18 13:54:49.000000000 +0200
+@@ -692,16 +692,18 @@
+ if (t->angle != 0) {
+ fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
+ (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
+- fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
+- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\"
text-anchor=\"%s\" >\n",
++ fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\""
++ " font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\""
++ " text-anchor=\"%s\" >\n",
+ rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
+ (t->font % 2 == 0 ? "normal" : "italic"),
+ (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 *
mag)),
+ anchor[t->type]);
+ }
+ else
+- fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
+- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\"
text-anchor=\"%s\" >\n",
++ fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\""
++ " font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\""
++ " text-anchor=\"%s\" >\n",
+ (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal
(t->color),
+ family[(int) ceil ((t->font + 1) / 4)],
+ (t->font % 2 == 0 ? "normal" : "italic"),
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/transfig/transfig.spec
============================================================================
$ cvs diff -u -r1.3 -r1.4 transfig.spec
--- openpkg-src/transfig/transfig.spec 25 Apr 2003 16:05:14 -0000 1.3
+++ openpkg-src/transfig/transfig.spec 18 Jun 2003 11:58:48 -0000 1.4
@@ -33,7 +33,7 @@
Group: XWindow
License: MIT-style
Version: 3.2.4
-Release: 20030425
+Release: 20030618
# list of sources
Source0: http://www.xfig.org/xfigdist/transfig.%{version}.tar.gz
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.4919 -r1.4920 news.txt
--- openpkg-web/news.txt 18 Jun 2003 09:48:30 -0000 1.4919
+++ openpkg-web/news.txt 18 Jun 2003 11:58:47 -0000 1.4920
@@ -1,3 +1,4 @@
+18-Jun-2003: Upgraded package: P<transfig-3.2.4-20030618>
18-Jun-2003: Upgraded package: P<acroread-5.07-20030618>
18-Jun-2003: Upgraded package: P<tcpreplay-1.4.4-20030618>
18-Jun-2003: Upgraded package: P<perl-www-20030618-20030618>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]