Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/calculix-cgx/files/, sci-libs/calculix-ccx/files/, ...
Date: Tue, 29 Mar 2016 17:15:49
Message-Id: 1458654912.e93aea35f5392272ade15fc3df09441cc411d457.jlec@gentoo
1 commit: e93aea35f5392272ade15fc3df09441cc411d457
2 Author: Grégory Salvan <apieum <AT> gmail <DOT> com>
3 AuthorDate: Mon Mar 7 05:19:31 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 22 13:55:12 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e93aea35
7
8 sci-libs/calculix-ccx-2.10 sci-libs/calculix-cgx-2.10 version bump (ref #602)
9
10 ...-ccx-2.8_p2.ebuild => calculix-ccx-2.10.ebuild} | 15 ++++++----
11 ...0_Makefile_custom_cc_flags_spooles_arpack.patch | 35 ++++++++++++++++++++++
12 ...7_Makefile_custom_cc_flags_spooles_arpack.patch | 31 -------------------
13 .../calculix-ccx/files/01_ccx_2.7_lapack.patch | 11 -------
14 ...2_Makefile_custom_cc_flags_spooles_arpack.patch | 32 --------------------
15 ...-cgx-2.7-r1.ebuild => calculix-cgx-2.10.ebuild} | 31 +++++++++----------
16 ...=> 01_cgx_2.10_Makefile_custom_cxx_flags.patch} | 33 ++++++++++----------
17 ...h => 02_cgx_2.10_menu_fix-freeglut_2.8.1.patch} | 35 +++++++++++-----------
18 8 files changed, 93 insertions(+), 130 deletions(-)
19
20 diff --git a/sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild b/sci-libs/calculix-ccx/calculix-ccx-2.10.ebuild
21 similarity index 87%
22 rename from sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild
23 rename to sci-libs/calculix-ccx/calculix-ccx-2.10.ebuild
24 index f643dc9..c9eb261 100644
25 --- a/sci-libs/calculix-ccx/calculix-ccx-2.8_p2.ebuild
26 +++ b/sci-libs/calculix-ccx/calculix-ccx-2.10.ebuild
27 @@ -2,7 +2,7 @@
28 # Distributed under the terms of the GNU General Public License v2
29 # $Id$
30
31 -EAPI=5
32 +EAPI=6
33
34 inherit eutils toolchain-funcs flag-o-matic fortran-2
35
36 @@ -18,7 +18,7 @@ SRC_URI="
37 LICENSE="GPL-2"
38 SLOT="0"
39 KEYWORDS="~amd64 ~x86"
40 -IUSE="arpack doc examples threads"
41 +IUSE="arpack doc examples openmp threads"
42
43 RDEPEND="
44 arpack? ( >=sci-libs/arpack-3.1.3 )
45 @@ -31,9 +31,9 @@ DEPEND="${RDEPEND}
46
47 S=${WORKDIR}/CalculiX/${MY_P}/src
48
49 -src_prepare (){
50 - epatch "${FILESDIR}/01_${MY_P}_Makefile_custom_cc_flags_spooles_arpack.patch"
51 -}
52 +PATCHES=(
53 + "${FILESDIR}/01_${MY_P}_Makefile_custom_cc_flags_spooles_arpack.patch"
54 +)
55
56 src_configure() {
57 # Technically we currently only need this when arpack is not used.
58 @@ -44,6 +44,11 @@ src_configure() {
59 if use threads; then
60 append-cflags "-DUSE_MT"
61 fi
62 +
63 + if use openmp; then
64 + append-fflags "-fopenmp"
65 + append-cflags "-fopenmp"
66 + fi
67
68 if use arpack; then
69 export ARPACKLIB=$($(tc-getPKG_CONFIG) --libs arpack)
70
71 diff --git a/sci-libs/calculix-ccx/files/01_ccx_2.10_Makefile_custom_cc_flags_spooles_arpack.patch b/sci-libs/calculix-ccx/files/01_ccx_2.10_Makefile_custom_cc_flags_spooles_arpack.patch
72 new file mode 100644
73 index 0000000..83caf80
74 --- /dev/null
75 +++ b/sci-libs/calculix-ccx/files/01_ccx_2.10_Makefile_custom_cc_flags_spooles_arpack.patch
76 @@ -0,0 +1,35 @@
77 +Fix Makefile to make it use custom CFLAGS and system libraries.
78 +
79 +diff -uwrN ccx_2.10.ORIG/src/Makefile ccx_2.10/src/Makefile
80 +--- src/Makefile 2016-03-07 04:57:09.462878788 +0100
81 ++++ ccx_2.10/src/Makefile 2016-03-07 06:05:44.150786978 +0100
82 +@@ -1,9 +1,6 @@
83 +
84 +-CFLAGS = -Wall -O3 -fopenmp -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE
85 +-FFLAGS = -Wall -O3 -fopenmp
86 +-
87 +-CC=cc
88 +-FC=gfortran
89 ++CFLAGS := -Wall -DARCH="Linux" -DMATRIXSTORAGE $(CFLAGS)
90 ++FFLAGS := -Wall $(FFLAGS)
91 +
92 + .c.o :
93 + $(CC) $(CFLAGS) -c $<
94 +@@ -18,15 +15,10 @@
95 + OCCXC = $(SCCXC:.c=.o)
96 + OCCXMAIN = $(SCCXMAIN:.c=.o)
97 +
98 +-DIR=../../../SPOOLES.2.2
99 +-
100 +-LIBS = \
101 +- $(DIR)/spooles.a \
102 +- ../../../ARPACK/libarpack_INTEL.a \
103 +- -lpthread -lm -lc
104 ++LIBS = $(ARPACKLIB) $(LAPACK) -lm -lc -lspooles -lpthread
105 +
106 + ccx_2.10: $(OCCXMAIN) ccx_2.10.a $(LIBS)
107 +- ./date.pl; $(CC) $(CFLAGS) -c ccx_2.10.c; $(FC) -fopenmp -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.10.a $(LIBS)
108 ++ ./date.pl; $(CC) $(CFLAGS) -c ccx_2.10.c; $(FC) $(FFLAGS) -o $@ $(OCCXMAIN) ccx_2.10.a $(LIBS)
109 +
110 + ccx_2.10.a: $(OCCXF) $(OCCXC)
111 + ar vr $@ $?
112
113 diff --git a/sci-libs/calculix-ccx/files/01_ccx_2.7_Makefile_custom_cc_flags_spooles_arpack.patch b/sci-libs/calculix-ccx/files/01_ccx_2.7_Makefile_custom_cc_flags_spooles_arpack.patch
114 deleted file mode 100644
115 index b042634..0000000
116 --- a/sci-libs/calculix-ccx/files/01_ccx_2.7_Makefile_custom_cc_flags_spooles_arpack.patch
117 +++ /dev/null
118 @@ -1,31 +0,0 @@
119 -diff -rupN CalculiX/ccx_2.7/src/Makefile CalculiX.patched/ccx_2.7/src/Makefile
120 ---- CalculiX/ccx_2.7/src/Makefile 2014-03-02 09:33:28.000000000 -0500
121 -+++ CalculiX.patched/ccx_2.7/src/Makefile 2014-09-04 16:49:28.456612880 -0400
122 -@@ -1,9 +1,8 @@
123 -+CFLAGS := -Wall -O3 -DARCH="Linux" -DMATRIXSTORAGE $(CFLAGS)
124 -+FFLAGS := -Wall -O3 $(FFLAGS)
125 -
126 --CFLAGS = -Wall -O3 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE
127 --FFLAGS = -Wall -O3
128 --
129 --CC=cc
130 --FC=gfortran
131 -+#CC:=cc
132 -+#FC:=gfortran
133 -
134 - .c.o :
135 - $(CC) $(CFLAGS) -c $<
136 -@@ -18,12 +17,7 @@ OCCXF = $(SCCXF:.f=.o)
137 - OCCXC = $(SCCXC:.c=.o)
138 - OCCXMAIN = $(SCCXMAIN:.c=.o)
139 -
140 --DIR=../../../SPOOLES.2.2
141 --
142 --LIBS = \
143 -- $(DIR)/spooles.a \
144 -- ../../../ARPACK/libarpack_INTEL.a \
145 -- -lpthread -lm -lc
146 -+LIBS = $(ARPACKLIB) $(LAPACK) -lm -lc -lspooles -lpthread
147 -
148 - ccx_2.7: $(OCCXMAIN) ccx_2.7.a $(LIBS)
149 - ./date.pl; $(CC) $(CFLAGS) -c ccx_2.7.c; $(FC) -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.7.a $(LIBS)
150
151 diff --git a/sci-libs/calculix-ccx/files/01_ccx_2.7_lapack.patch b/sci-libs/calculix-ccx/files/01_ccx_2.7_lapack.patch
152 deleted file mode 100644
153 index cc83fca..0000000
154 --- a/sci-libs/calculix-ccx/files/01_ccx_2.7_lapack.patch
155 +++ /dev/null
156 @@ -1,11 +0,0 @@
157 -diff -rupN CalculiX/ccx_2.7/src/Makefile.inc CalculiX.patch/ccx_2.7/src/Makefile.inc
158 ---- CalculiX/ccx_2.7/src/Makefile.inc 2014-03-02 09:33:27.000000000 -0500
159 -+++ CalculiX.patch/ccx_2.7/src/Makefile.inc 2014-08-30 11:18:14.914823360 -0400
160 -@@ -128,7 +128,6 @@ depvars.f \
161 - deuldlag.f \
162 - dflux.f \
163 - dfluxs.f \
164 --dgesv.f \
165 - distattach.f \
166 - distattach_3d.f \
167 - distattachline.f \
168
169 diff --git a/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch b/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch
170 deleted file mode 100644
171 index a47fdc6..0000000
172 --- a/sci-libs/calculix-ccx/files/01_ccx_2.8p2_Makefile_custom_cc_flags_spooles_arpack.patch
173 +++ /dev/null
174 @@ -1,32 +0,0 @@
175 -Fix Makefile to make it use custom CFLAGS and system libraries.
176 -
177 ---- CalculiX.orig/ccx_2.8p2/src/Makefile 2015-05-21 11:04:58.125111330 +0300
178 -+++ CalculiX/ccx_2.8p2/src/Makefile 2015-05-21 11:08:26.848130631 +0300
179 -@@ -1,9 +1,9 @@
180 -
181 --CFLAGS = -Wall -O3 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE
182 --FFLAGS = -Wall -O3 -fopenmp
183 -+CFLAGS := -Wall -O3 -DARCH="Linux" -DMATRIXSTORAGE $(CFLAGS)
184 -+FFLAGS := -Wall -O3 $(FFLAGS)
185 -
186 --CC=cc
187 --FC=gfortran
188 -+#CC=cc
189 -+#FC=gfortran
190 -
191 - .c.o :
192 - $(CC) $(CFLAGS) -c $<
193 -@@ -18,12 +18,7 @@
194 - OCCXC = $(SCCXC:.c=.o)
195 - OCCXMAIN = $(SCCXMAIN:.c=.o)
196 -
197 --DIR=../../../SPOOLES.2.2
198 --
199 --LIBS = \
200 -- $(DIR)/spooles.a \
201 -- ../../../ARPACK/libarpack_INTEL.a \
202 -- -lpthread -lm -lc
203 -+LIBS = $(ARPACKLIB) $(LAPACK) -lm -lc -lspooles -lpthread
204 -
205 - ccx_2.8p2: $(OCCXMAIN) ccx_2.8p2.a $(LIBS)
206 - ./date.pl; $(CC) $(CFLAGS) -c ccx_2.8p2.c; $(FC) -fopenmp -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.8p2.a $(LIBS)
207
208 diff --git a/sci-libs/calculix-cgx/calculix-cgx-2.7-r1.ebuild b/sci-libs/calculix-cgx/calculix-cgx-2.10.ebuild
209 similarity index 69%
210 rename from sci-libs/calculix-cgx/calculix-cgx-2.7-r1.ebuild
211 rename to sci-libs/calculix-cgx/calculix-cgx-2.10.ebuild
212 index d007036..0535bb8 100644
213 --- a/sci-libs/calculix-cgx/calculix-cgx-2.7-r1.ebuild
214 +++ b/sci-libs/calculix-cgx/calculix-cgx-2.10.ebuild
215 @@ -2,7 +2,7 @@
216 # Distributed under the terms of the GNU General Public License v2
217 # $Id$
218
219 -EAPI=5
220 +EAPI=6
221
222 inherit eutils
223
224 @@ -20,35 +20,36 @@ KEYWORDS="~amd64 ~x86"
225 IUSE="doc examples"
226
227 RDEPEND="media-libs/mesa[nptl]
228 - >=media-libs/freeglut-1.0"
229 + >=media-libs/freeglut-1.0
230 + virtual/opengl
231 + x11-libs/libX11
232 + x11-libs/libXmu
233 + x11-libs/libXi
234 + x11-libs/libXext
235 + x11-libs/libXt
236 + x11-libs/libSM
237 + x11-libs/libICE"
238 DEPEND="${RDEPEND}
239 doc? ( app-text/ghostscript-gpl )"
240
241 S=${WORKDIR}/CalculiX/${MY_P}/src/
242
243 -src_unpack() {
244 - default
245 - cp "${DISTDIR}/${MY_P}.pdf" "${S}"
246 -}
247 -src_prepare() {
248 - epatch "${FILESDIR}"/01_${MY_P}_Makefile_custom_cxx_flags.patch
249 - epatch "${FILESDIR}"/02_${MY_P}_menu_fix-freeglut_2.8.1.patch
250 -}
251 +PATCHES=(
252 + "${FILESDIR}"/01_${MY_P}_Makefile_custom_cxx_flags.patch
253 + "${FILESDIR}"/02_${MY_P}_menu_fix-freeglut_2.8.1.patch
254 +)
255
256 src_configure () {
257 # Does not compile without -lpthread
258 - #if use nptl; then
259 export PTHREAD="-lpthread"
260 - #else
261 - # export PTHREAD=""
262 - #fi
263 + export LFLAGS="-L/usr/$(get_libdir) ${LFLAGS}"
264 }
265
266 src_install () {
267 dobin cgx
268
269 if use doc; then
270 - dodoc ${MY_P}.pdf
271 + dodoc "${DISTDIR}/${MY_P}.pdf"
272 fi
273
274 if use examples; then
275
276 diff --git a/sci-libs/calculix-cgx/files/01_cgx_2.7_Makefile_custom_cxx_flags.patch b/sci-libs/calculix-cgx/files/01_cgx_2.10_Makefile_custom_cxx_flags.patch
277 similarity index 72%
278 rename from sci-libs/calculix-cgx/files/01_cgx_2.7_Makefile_custom_cxx_flags.patch
279 rename to sci-libs/calculix-cgx/files/01_cgx_2.10_Makefile_custom_cxx_flags.patch
280 index 0c97613..d6e22f9 100644
281 --- a/sci-libs/calculix-cgx/files/01_cgx_2.7_Makefile_custom_cxx_flags.patch
282 +++ b/sci-libs/calculix-cgx/files/01_cgx_2.10_Makefile_custom_cxx_flags.patch
283 @@ -1,30 +1,30 @@
284 -diff -rupN CalculiX/cgx_2.7/src/Makefile CalculiX.patched/cgx_2.7/src/Makefile
285 ---- CalculiX/cgx_2.7/src/Makefile 2014-02-18 13:47:05.000000000 -0500
286 -+++ CalculiX.patched/cgx_2.7/src/Makefile 2014-09-04 17:08:58.043266103 -0400
287 +diff -uwrN cgx_2.10.ORIG/src/Makefile cgx_2.10/src/Makefile
288 +--- src/Makefile 2016-01-13 12:41:40.398930000 +0100
289 ++++ cgx_2.10/src/Makefile 2016-03-08 11:02:59.591853482 +0100
290 @@ -1,15 +1,15 @@
291 -CFLAGS = -O3 -Wall \
292 -+CFLAGS := -O3 -Wall \
293 ++CFLAGS += -Wall \
294 -I./ \
295 -I/usr/include \
296 -I/usr/include/GL \
297 -I../../libSNL/src \
298 -I../../glut-3.5/src \
299 - -I/usr/X11/include
300 -+ -I/usr/X11/include $(CFLAGS)
301 ++ -I/usr/include/X11
302
303 -LFLAGS = \
304 - -L/usr/lib64 -lGL -lGLU \
305 - -L/usr/X11R6/lib64 -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE \
306 - -lm -lpthread -lrt
307 -+LFLAGS := \
308 -+ -L/usr/lib -lGL -lGLU -lglut \
309 -+ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE \
310 -+ -lm $(PTHREAD) -lrt $(LFLAGS)
311 ++LFLAGS += \
312 ++ -lGL -lGLU -lglut\
313 ++ -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE \
314 ++ -lm $(PTHREAD) -lrt
315
316
317 # on 32bit systems change lib64 to lib
318 -@@ -19,41 +19,6 @@ LFLAGS = \
319 - include Makefile.inc
320 +@@ -22,41 +22,6 @@
321 + userFunction.c
322
323 SUTIL = \
324 - ../../glut-3.5/src/layerutil.c \
325 @@ -65,12 +65,9 @@ diff -rupN CalculiX/cgx_2.7/src/Makefile CalculiX.patched/cgx_2.7/src/Makefile
326 uselibSNL.cpp \
327 generateTet.cpp \
328 ../../libSNL/src/*.cpp
329 -@@ -62,7 +27,7 @@ OLIB = $(SLIB:.c=.o)
330 +@@ -66,7 +31,7 @@
331 OUTIL = $(SUTIL:.c=.o)
332
333 - cgx: $(OLIB) $(OUTIL)
334 -- g++ $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
335 -+ $(CXX) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
336 -
337 -
338 -
339 + cgx: $(OLIB) $(OUTIL) $(OULIB)
340 +- g++ $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
341 ++ $(CXX) $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
342
343 diff --git a/sci-libs/calculix-cgx/files/02_cgx_2.7_menu_fix-freeglut_2.8.1.patch b/sci-libs/calculix-cgx/files/02_cgx_2.10_menu_fix-freeglut_2.8.1.patch
344 similarity index 59%
345 rename from sci-libs/calculix-cgx/files/02_cgx_2.7_menu_fix-freeglut_2.8.1.patch
346 rename to sci-libs/calculix-cgx/files/02_cgx_2.10_menu_fix-freeglut_2.8.1.patch
347 index 8f304af..ff440b4 100644
348 --- a/sci-libs/calculix-cgx/files/02_cgx_2.7_menu_fix-freeglut_2.8.1.patch
349 +++ b/sci-libs/calculix-cgx/files/02_cgx_2.10_menu_fix-freeglut_2.8.1.patch
350 @@ -1,7 +1,7 @@
351 -diff -rupN CalculiX/cgx_2.7/src/cgx.c CalculiX.patched/cgx_2.7/src/cgx.c
352 ---- CalculiX/cgx_2.7/src/cgx.c 2014-02-18 13:43:53.000000000 -0500
353 -+++ CalculiX.patched/cgx_2.7/src/cgx.c 2014-09-07 10:59:21.396969109 -0400
354 -@@ -240,6 +240,9 @@ int subsubmenu_entity=-1, subsubmenu_p
355 +diff -uwrN cgx_2.10.ORIG/src/cgx.c cgx_2.10/src/cgx.c
356 +--- src/cgx.c 2016-03-04 20:40:43.429549000 +0100
357 ++++ cgx_2.10/src/cgx.c 2016-03-08 10:53:56.816865592 +0100
358 +@@ -242,6 +242,9 @@
359 int subsubmenu_animTune=-1, subsubmenu_animSteps=-1;
360 int subsubmenu_animPeriod=-1;
361
362 @@ -11,20 +11,20 @@ diff -rupN CalculiX/cgx_2.7/src/cgx.c CalculiX.patched/cgx_2.7/src/cgx.c
363 GLfloat lmodel_twoside[] = { GL_TRUE };
364 GLfloat lmodel_oneside[] = { GL_FALSE };
365 double dx ,dy; /* Mauskoordinaten im bereich +-1*/
366 -@@ -397,6 +400,12 @@ void allocUtilityData(void)
367 +@@ -400,7 +403,11 @@
368 + #endif
369 }
370
371 -
372 +-
373 +void queueRecompileEntitiesInMenu(int lc)
374 +{
375 + recompileFlag = 1;
376 + recompileMenu = lc;
377 +}
378 -+
379 -
380
381 - #if INX_MODE
382 -@@ -3105,7 +3114,7 @@ void selectDataset( int selection )
383 + /* the node pointer must not be changed inside the function. Since that is the case the *node is changed to *node_dummy
384 + and the global *node is used which is always correct so far */
385 +@@ -3201,7 +3208,7 @@
386 seqLC[2]=anz->l-1;
387 }/* no sequence until a new entity is selected and all data are prepared */
388
389 @@ -33,7 +33,7 @@ diff -rupN CalculiX/cgx_2.7/src/cgx.c CalculiX.patched/cgx_2.7/src/cgx.c
390 }
391
392
393 -@@ -3133,7 +3142,15 @@ void createNewMainMenu(void)
394 +@@ -3229,7 +3236,15 @@
395 glutSetWindow( activWindow);
396 }
397
398 @@ -50,7 +50,7 @@ diff -rupN CalculiX/cgx_2.7/src/cgx.c CalculiX.patched/cgx_2.7/src/cgx.c
399
400 void recompileEntitiesInMenu(int lc)
401 {
402 -@@ -5486,6 +5503,7 @@ int main ( int argc, char **argv )
403 +@@ -5918,6 +5933,7 @@
404 glutSpecialFunc ( specialKeyboard );
405 glutEntryFunc ( entryfunktion );
406 glutPassiveMotionFunc ( Mouse );
407 @@ -58,16 +58,15 @@ diff -rupN CalculiX/cgx_2.7/src/cgx.c CalculiX.patched/cgx_2.7/src/cgx.c
408 glDisable(GL_DITHER);
409 glLightModelfv(GL_LIGHT_MODEL_TWO_SIDE, lmodel_oneside);
410 glCullFace ( GL_BACK );
411 -diff -rupN CalculiX/cgx_2.7/src/extUtil.h CalculiX.patched/cgx_2.7/src/extUtil.h
412 ---- CalculiX/cgx_2.7/src/extUtil.h 2014-02-18 13:44:22.000000000 -0500
413 -+++ CalculiX.patched/cgx_2.7/src/extUtil.h 2014-09-07 10:54:05.816962047 -0400
414 -@@ -34,7 +34,8 @@ void printf_fflush(const char *fmt,...);
415 +diff -uwrN cgx_2.10.ORIG/src/extUtil.h cgx_2.10/src/extUtil.h
416 +--- src/extUtil.h 2016-02-13 02:21:44.342442000 +0100
417 ++++ cgx_2.10/src/extUtil.h 2016-03-08 10:55:36.194863375 +0100
418 +@@ -34,7 +34,7 @@
419 }
420 #endif
421 #else
422 - #include <GL/glut_cgx.h>
423 -+ //#include <GL/glut_cgx.h>
424 + #include <GL/glut.h>
425 #endif
426
427 - #define PI 3.14159265358979323846264338327950288
428 + #define PI 3.14159265358979323846264338327950288
429 \ No newline at end of file