opencascade.git
14 years agohurd-fixes
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
hurd-fixes

New patch: debian/patches/hurd-fixes.patch

This patch will gather fixes needed to build on GNU/Hurd.

Remove OSD_Process::CurrentDirectory() method on non-Windows hosts.
This method is unused, and prevents compilation on GNU/Hurd.

The Hurd defines ED as a macro in errno.h, rename ED variables
into EData.

Gbp-Pq: Name hurd-fixes.patch

14 years agofix-osd_path
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
fix-osd_path

Drop utsname usage for unknown architectures.  It is misused and
prevent compilation on these architectures, see for instance
  http://buildd.debian-ports.org/fetch.php?pkg=opencascade&arch=kfreebsd-i386&ver=6.3.0.dfsg.1-3&stamp=1237965784&file=log&as=raw
  http://buildd.debian-ports.org/fetch.php?pkg=opencascade&arch=hurd-i386&ver=6.3.0.dfsg.1-3&stamp=1238775033&file=log&as=raw

Gbp-Pq: Name fix-osd_path.patch

14 years agofix-asm
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
fix-asm

Replace x86 assembly code by atomic extensions provided by GNU g++.
(closes: #518837)

Submitted upstream: http://www.opencascade.org/org/forum/thread_20053/

Gbp-Pq: Topic submitted
Gbp-Pq: Name fix-asm.patch

14 years agokfreebsd
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
kfreebsd

Fix compilation on GNU/kFreeBSD
(closes: #542718)

Submitted upstream: http://www.opencascade.org/org/forum/thread_20052/

Gbp-Pq: Topic submitted
Gbp-Pq: Name kfreebsd.patch

14 years agoppc
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
ppc

Change PPC variable to ppc to avoid conflict with PPC macro (closes: #487810)

Submitted upstream: http://www.opencascade.org/org/forum/thread_20051/

Gbp-Pq: Topic submitted
Gbp-Pq: Name ppc.patch

14 years agoftbfs-g++4.6
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
ftbfs-g++4.6

Fix build failures with g++ 4.6  (closes: #624943)

Error message is:
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static Standard_Boolean Visual3d_TransientManager::BeginDraw(const Handle_Visual3d_View&, Standard_Boolean, Standard_Boolean)':
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:123:70: error: taking address of temporary [-fpermissive]
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:127:68: error: taking address of temporary [-fpermissive]
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static void Visual3d_TransientManager::ClearDraw(const Handle_Visual3d_View&, Standard_Boolean)':
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:192:77: error: taking address of temporary [-fpermissive]
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:194:75: error: taking address of temporary [-fpermissive]
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static Standard_Boolean Visual3d_TransientManager::BeginAddDraw(const Handle_Visual3d_View&)':
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:232:79: error: taking address of temporary [-fpermissive]
 ../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:234:77: error: taking address of temporary [-fpermissive]

Submitted upstream: http://www.opencascade.org/org/forum/thread_20572/

Gbp-Pq: Topic submitted
Gbp-Pq: Name ftbfs-g++4.6.patch

14 years agofix-Abs-parenthesis
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
fix-Abs-parenthesis

Replace Abs(foo < bar) by Abs(foo) < bar

This is legal C++, but certainly not the expected result,
(foo < bar) is a boolean which is promoted to an int, and
the function Abs(int) is called.

These bugs have been reported by Fotios Sioutis on the
opencascade forum.
Submitted upstream: http://www.opencascade.org/org/forum/thread_20187/

Gbp-Pq: Topic submitted
Gbp-Pq: Name fix-Abs-parenthesis.patch

14 years agofix-display-text
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
fix-display-text

Bug fix: Text doesn't get displayed in 6.5

Submitted upstream: http://www.opencascade.org/org/forum/thread_20101/

Based on a patch provided on the opencascade forum by Venugopal Gudimetla.

Gbp-Pq: Topic submitted
Gbp-Pq: Name fix-display-text.patch

14 years agoworkaround-bug-mesher
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
workaround-bug-mesher

Workaround poor performance of the new mesher in OCC 6.5.0 with B-spline surfaces

The new mesher in OCC 6.5.0 is more robust, but also produces much
larger meshes on B-spline surfaces.  Until this bug is fixed, it
seems better to use the generic procedure.

Patch provided by Jérôme Robert.
See http://www.opencascade.org/org/forum/thread_20076/

Gbp-Pq: Topic submitted
Gbp-Pq: Name workaround-bug-mesher.patch

14 years agoOpenCASCADE6.3.0-strcmp
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
OpenCASCADE6.3.0-strcmp

char* comparison must be performed by strcmp, not ==

Patch found in openSUSE rpm package

Submitted upstream: http://www.opencascade.org/org/forum/thread_20049/

Gbp-Pq: Topic submitted
Gbp-Pq: Name OpenCASCADE6.3.0-strcmp.patch

14 years agofix-tklcaf
Debian Science Maintainers [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
fix-tklcaf

Fix TKLCAF library (= instead of == in if-condition)

Submitted upstream: http://www.opencascade.org/org/forum/thread_18622/

From: Michael Wild <themiwi@users.sourceforge.net>

Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
Gbp-Pq: Topic submitted
Gbp-Pq: Name fix-tklcaf.patch

14 years agoopencascade (6.5.0.dfsg-2) unstable; urgency=low
"Adam C. Powell, IV" [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
opencascade (6.5.0.dfsg-2) unstable; urgency=low

  [ Denis Barbier ]
  * Add debian/patches/submitted/ftbfs-g++4.6.patch
    Fix FTBFS with g++ 4.6.  Closes: #624943
  * Add debian/patches/submitted/fix-Abs-parenthesis.patch
    Fix misplaced parenthesis, patch by Fotios Sioutis
    on the OpenCascade forum.
  * debian/patches/hurd-fixes.patch: Rename ED variable into
    EData, as ED is a macro defined in errno.h on the Hurd.
  * Fix sparc v9 detection in fix-asm.patch to fix FTBFS
    on sparc64.
  * Fix debian/patches/compatibility-occ630-Value.patch: the
    old Value() method did return a distance whereas
    SquareDistance() now returns a square distance, so Value()
    must call sqrt().  Thanks to Roman Lygin and Mikhail Sazonov
    for the catch on the OpenCASCADE forum.

  [ Adam C. Powell, IV ]
  * Bumped Standards-Version to 3.9.2, no changes needed.

[dgit import unpatched opencascade 6.5.0.dfsg-2]

14 years agoImport opencascade_6.5.0.dfsg-2.debian.tar.gz
"Adam C. Powell, IV" [Fri, 6 May 2011 13:52:41 +0000 (14:52 +0100)]
Import opencascade_6.5.0.dfsg-2.debian.tar.gz

[dgit import tarball opencascade 6.5.0.dfsg-2 opencascade_6.5.0.dfsg-2.debian.tar.gz]

14 years agoImport opencascade_6.5.0.dfsg.orig.tar.bz2
"Adam C. Powell, IV" [Mon, 21 Mar 2011 11:52:34 +0000 (11:52 +0000)]
Import opencascade_6.5.0.dfsg.orig.tar.bz2

[dgit import orig opencascade_6.5.0.dfsg.orig.tar.bz2]