pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/felt Make this compile with gcc3 - get rid of mult...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7090942b92d5
branches: trunk
changeset: 467340:7090942b92d5
user: agc <agc%pkgsrc.org@localhost>
date: Thu Jan 29 11:11:15 2004 +0000
description:
Make this compile with gcc3 - get rid of multiline string constants.
diffstat:
cad/felt/distinfo | 3 +-
cad/felt/patches/patch-ac | 738 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 740 insertions(+), 1 deletions(-)
diffs (truncated from 756 to 300 lines):
diff -r 249a31a06bb6 -r 7090942b92d5 cad/felt/distinfo
--- a/cad/felt/distinfo Thu Jan 29 11:00:02 2004 +0000
+++ b/cad/felt/distinfo Thu Jan 29 11:11:15 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2002/09/21 06:31:43 jlam Exp $
+$NetBSD: distinfo,v 1.9 2004/01/29 11:11:15 agc Exp $
SHA1 (felt-3.05.src.tar.gz) = da3e1ced626cc1c65a570d3e6e242252c039c28b
Size (felt-3.05.src.tar.gz) = 956901 bytes
@@ -6,3 +6,4 @@
Size (felt-3.05.ps.gz) = 626985 bytes
SHA1 (patch-aa) = fbf4c14dec40fc1e5aa5009625c6465bc8d763ab
SHA1 (patch-ab) = 60feea9b0b0af2b71b2a8780227eccbd223b12c5
+SHA1 (patch-ac) = 4bbdbf6c4fd597cbdaa355c5da9d6a46d649b66e
diff -r 249a31a06bb6 -r 7090942b92d5 cad/felt/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/felt/patches/patch-ac Thu Jan 29 11:11:15 2004 +0000
@@ -0,0 +1,738 @@
+$NetBSD: patch-ac,v 1.1 2004/01/29 11:11:15 agc Exp $
+
+--- src/Patchwork/oogl.h 2004/01/29 10:29:34 1.1
++++ src/Patchwork/oogl.h 2004/01/29 11:08:02
+@@ -2,370 +2,369 @@
+ symbols.h
+ **************************************************************************/
+
+-static char *cone = "\n\
+-unit { \n\
+- { OFF\n\
+-22 40 120\n\
+-0.000000 1.000000 0.000000\n\
+-0.000000 0.000000 0.000000\n\
+-0.500000 0.000000 0.000000\n\
+-0.475528 0.000000 0.154508\n\
+-0.404508 0.000000 0.293893\n\
+-0.293893 0.000000 0.404508\n\
+-0.154508 0.000000 0.475528\n\
+-0.000000 0.000000 0.500000\n\
+--0.154508 0.000000 0.475528\n\
+--0.293893 0.000000 0.404508\n\
+--0.404508 0.000000 0.293893\n\
+--0.475528 0.000000 0.154508\n\
+--0.500000 0.000000 0.000000\n\
+--0.475528 0.000000 -0.154508\n\
+--0.404508 0.000000 -0.293893\n\
+--0.293893 0.000000 -0.404508\n\
+--0.154508 0.000000 -0.475528\n\
+--0.000000 0.000000 -0.500000\n\
+-0.154508 0.000000 -0.475528\n\
+-0.293893 0.000000 -0.404508\n\
+-0.404508 0.000000 -0.293893\n\
+-0.475528 0.000000 -0.154508\n\
+-3 2 3 0\n\
+-3 3 2 1\n\
+-3 3 4 0\n\
+-3 4 3 1\n\
+-3 4 5 0\n\
+-3 5 4 1\n\
+-3 5 6 0\n\
+-3 6 5 1\n\
+-3 6 7 0\n\
+-3 7 6 1\n\
+-3 7 8 0\n\
+-3 8 7 1\n\
+-3 8 9 0\n\
+-3 9 8 1\n\
+-3 9 10 0\n\
+-3 10 9 1\n\
+-3 10 11 0\n\
+-3 11 10 1\n\
+-3 11 12 0\n\
+-3 12 11 1\n\
+-3 12 13 0\n\
+-3 13 12 1\n\
+-3 13 14 0\n\
+-3 14 13 1\n\
+-3 14 15 0\n\
+-3 15 14 1\n\
+-3 15 16 0\n\
+-3 16 15 1\n\
+-3 16 17 0\n\
+-3 17 16 1\n\
+-3 17 18 0\n\
+-3 18 17 1\n\
+-3 18 19 0\n\
+-3 19 18 1\n\
+-3 19 20 0\n\
+-3 20 19 1\n\
+-3 20 21 0\n\
+-3 21 20 1\n\
+-3 21 2 0\n\
+-3 2 21 1\n\
+- }\n\
+-}\n\
+-";
+-
+-static char *sphere = "\n\
+-unit { \n\
+- { MESH\n\
+-10 10\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+-0 0 1\n\
+- \n\
+-0.34202 0 0.9396\n\
+-0.262003 0.219846 0.939693\n\
+-0.0593912 0.336824 0.939693\n\
+--0.17101 0.296198 0.939693\n\
+--0.321394 0.116978 0.939693\n\
+--0.321394 -0.116978 0.939693\n\
+--0.17101 -0.296198 0.939693\n\
+-0.0593912 -0.336824 0.939693\n\
+-0.262003 -0.219846 0.939693\n\
+-0.34202 -8.37708e-17 0.939693\n\
+- \n\
+-0.642788 0 0.766044\n\
+-0.492404 0.413176 0.766044\n\
+-0.111619 0.633022 0.766044\n\
+--0.321394 0.55667 0.766044\n\
+--0.604023 0.219846 0.766044\n\
+--0.604023 -0.219846 0.766044\n\
+--0.321394 -0.55667 0.766044\n\
+-0.111619 -0.633022 0.766044\n\
+-0.492404 -0.413176 0.766044\n\
+-0.642788 -1.57438e-16 0.766044\n\
+- \n\
+-0.866025 0 0.5\n\
+-0.663414 0.55667 0.5\n\
+-0.150384 0.852869 0.5\n\
+--0.433013 0.75 0.5\n\
+--0.813798 0.296198 0.5\n\
+--0.813798 -0.296198 0.5\n\
+--0.433013 -0.75 0.5\n\
+-0.150384 -0.852869 0.5\n\
+-0.663414 -0.55667 0.5\n\
+-0.866025 -2.12115e-16 0.5\n\
+- \n\
+-0.984808 0 0.173648\n\
+-0.754407 0.633022 0.173648\n\
+-0.17101 0.969846 0.173648\n\
+--0.492404 0.852868 0.173648\n\
+--0.925417 0.336824 0.173648\n\
+--0.925417 -0.336824 0.173648\n\
+--0.492404 -0.852869 0.173648\n\
+-0.17101 -0.969846 0.173648\n\
+-0.754407 -0.633022 0.173648\n\
+-0.984808 -2.41208e-16 0.173648\n\
+- \n\
+-0.984808 0 -0.173648\n\
+-0.754407 0.633022 -0.173648\n\
+-0.17101 0.969846 -0.173648\n\
+--0.492404 0.852868 -0.173648\n\
+--0.925417 0.336824 -0.173648\n\
+--0.925417 -0.336824 -0.173648\n\
+--0.492404 -0.852869 -0.173648\n\
+-0.17101 -0.969846 -0.173648\n\
+-0.754407 -0.633022 -0.173648\n\
+-0.984808 -2.41208e-16 -0.173648\n\
+- \n\
+-0.866025 0 -0.5\n\
+-0.663414 0.55667 -0.5\n\
+-0.150384 0.852868 -0.5\n\
+--0.433013 0.75 -0.5\n\
+--0.813798 0.296198 -0.5\n\
+--0.813798 -0.296198 -0.5\n\
+--0.433013 -0.75 -0.5\n\
+-0.150384 -0.852868 -0.5\n\
+-0.663414 -0.55667 -0.5\n\
+-0.866025 -2.12115e-16 -0.5\n\
+- \n\
+-0.642788 0 -0.766044\n\
+-0.492404 0.413176 -0.766044\n\
+-0.111619 0.633022 -0.766044\n\
+--0.321394 0.55667 -0.766044\n\
+--0.604023 0.219846 -0.766044\n\
+--0.604023 -0.219846 -0.766044\n\
+--0.321394 -0.55667 -0.766044\n\
+-0.111619 -0.633022 -0.766044\n\
+-0.492404 -0.413176 -0.766044\n\
+-0.642788 -1.57438e-16 -0.766044\n\
+- \n\
+-0.34202 0 -0.939693\n\
+-0.262003 0.219846 -0.939693\n\
+-0.0593912 0.336824 -0.939693\n\
+--0.17101 0.296198 -0.939693\n\
+--0.321394 0.116978 -0.939693\n\
+--0.321394 -0.116978 -0.939693\n\
+--0.17101 -0.296198 -0.939693\n\
+-0.0593912 -0.336824 -0.939693\n\
+-0.262003 -0.219846 -0.939693\n\
+-0.34202 -8.37708e-17 -0.939693\n\
+- \n\
+-1.22465e-16 0 -1\n\
+-9.38134e-17 7.87188e-17 -1\n\
+-2.12658e-17 1.20604e-16 -1\n\
+--6.12323e-17 1.06058e-16 -1\n\
+--1.15079e-16 4.18854e-17 -1\n\
+--1.15079e-16 -4.18854e-17 -1\n\
+--6.12323e-17 -1.06058e-16 -1\n\
+-2.12658e-17 -1.20604e-16 -1\n\
+-9.38134e-17 -7.87188e-17 -1\n\
+-1.22465e-16 -2.99952e-32 -1\n\
+- }\n\
+-}\n\
+-";
+-
+-static char *xyz = "{\n\
+-=\n\
+-VECT\n\
+-8 19 3\n\
+-2 2 2 2 2 3 2 4\n\
+-1 0 0 1 0 0 1 0\n\
+-\n\
+-0 0 0 1 0 0\n\
+-1 -.05 .05 1 .05 .25\n\
+-1 .05 .05 1 -.05 .25\n\
+-\n\
+-0 0 0 0 1 0\n\
+--.05 1 .25 0 1 .15\n\
+- .05 1 .25 0 1 .15 0 1 .05\n\
+-\n\
+-0 0 0 0 0 1\n\
+--.05 .25 1 .05 .25 1 -.05 .05 1 .05 .05 1\n\
+-\n\
+-1 0 0 1\n\
+-0 1 0 1\n\
+-0 .6 1 1\n}";
+-
+-static char *origin = "\n\
+-unit { \n\
+- { VECT\n\
+-8 19 3\n\
+-2 2 2 2 2 3 2 4\n\
+-1 0 0 1 0 0 1 0\n\
+-\n\
+-0 0 0 1 0 0\n\
+-1 -.05 .05 1 .05 .25\n\
+-1 .05 .05 1 -.05 .25\n\
+-\n\
+-0 0 0 0 1 0\n\
+--.05 1 .25 0 1 .15\n\
+- .05 1 .25 0 1 .15 0 1 .05\n\
+-\n\
+-0 0 0 0 0 1\n\
+--.05 .25 1 .05 .25 1 -.05 .05 1 .05 .05 1\n\
+-\n\
+-1 0 0 1\n\
+-0 1 0 1\n\
+-0 .6 1 1\n\
+- }\n\
+-}\n\
+-";
+-
+-static char *color1 = "\n\
+-0.26 0.7 0.7 1\
+-\n}\n";
+-
+-static char *fzold = "\n\
+-unit { \n\
+- { VECT\n\
+-3 6 1\n\
+-2 2 2\n\
+-1 0 0\n\
+-\n\
+-0 0 0 0 0 0.5\n\
+-.05 0 .4 0 0 0.5\n\
+-0 0 0.5 -.05 0 .4\n\
+-\n\
+-1 0 0 1\n\
+- }\n\
+-}\n\
+-";
+-
+-static char *fz = "\n\
+-unit { \n\
+- { VECT\n\
+-5 10 1\n\
+-2 2 2 2 2\n\
+-1 0 0 0 0\n\
+-\n\
+-0 0 0 0 0 0.5\n\
+-.05 0 .4 0 0 0.5\n\
+-0 0 0.5 -.05 0 .4\n\
+-0 .05 .4 0 0 0.5\n\
+-0 0 0.5 0 -.05 .4\n\
+-\n\
+-1 0 0 1\n\
+- }\n\
+-}\n\
+-";
+-
+-static char *constraint = "\n\
+-unit { \n\
Home |
Main Index |
Thread Index |
Old Index