Overview

Request 335 (accepted)

- gcc-4.7.patch added to make it compile on 12.2 and up.
- spec file cleanup.

Submit package home:jnweiger:FreeCAD / Coin to package Extra / Coin

Coin.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Wed Dec 26 18:00:53 UTC 2012 - jw@suse.de
4
+
5
+- gcc-4.7.patch added.
6
+
7
+-------------------------------------------------------------------
8
 Fri Dec 10 16:57:15 UTC 2010 - andrea@links2linux.de
9
 
10
 - new upstream version 3.1.3
11
Coin.spec Changed
27
 
1
@@ -3,12 +3,13 @@
2
 Name:      Coin
3
 Version:    3.1.3
4
 Release:    2
5
-Summary:    Coin is a multiplatform high-level 3D graphics library
6
+Summary:    A multiplatform high-level 3D graphics library
7
 Group:      Development/Libraries/C and C++
8
-License:    GPL
9
-Packager:   Andrea Florio <andrea@links2linux.de>
10
+License:    BSD-3-Clause
11
 URL:        http://www.coin3d.org/lib/coin
12
 Source:     Coin-%{version}.tar.bz2
13
+# PATCH-FIX-UPSTREAM gcc-4.7.patch asterios.dramis@gmail.com -- Fix compilation with gcc-4.7 (based on a Fedora patch)
14
+Patch0:         gcc-4.7.patch
15
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16
 BuildRequires:  c++_compiler
17
 BuildRequires:  freeglut-devel
18
@@ -52,6 +53,8 @@
19
 
20
 %prep
21
 %setup -q -n Coin-%version
22
+# gcc-4.7.patch
23
+%patch0
24
 
25
 %build
26
 
27
gcc-4.7.patch Added
14
 
1
@@ -0,0 +1,12 @@
2
+--- include/Inventor/SbBasic.h.orig    2010-03-02 15:20:09.000000000 +0200
3
++++ include/Inventor/SbBasic.h 2012-04-26 21:11:27.694083007 +0300
4
+@@ -25,6 +25,9 @@
5
+ \**************************************************************************/
6
+ 
7
+ #include <Inventor/C/basic.h>
8
++#ifndef NDEBUG
9
++#include <Inventor/C/errors/debugerror.h>
10
++#endif // !NDEBUG
11
+ 
12
+ /* ********************************************************************** */
13
+ /* Trap people trying to use Inventor headers while compiling C source code.
14
Refresh
Refresh
Request History
Jürgen Weigert's avatar

jnweiger created request over 11 years ago

- gcc-4.7.patch added to make it compile on 12.2 and up.
- spec file cleanup.


Peter Linnell's avatar

mrdocs accepted request about 12 years ago

Thanks. Looks good to me!