void-packages/srcpkgs/coin3/patches/0005-gcc-4.7.patch

29 lines
907 B
Diff

Source: http://pkgs.fedoraproject.org/cgit/rpms/Coin3.git/plain/0005-gcc-4.7.patch
From a5bf6656215837a9bdf4d70cdce4be0fedd522e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@corsepiu.home>
Date: Fri, 4 May 2012 13:30:20 +0200
Subject: [PATCH 05/10] gcc-4.7.
---
include/Inventor/SbBasic.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/Inventor/SbBasic.h b/include/Inventor/SbBasic.h
index d038bb1..2ee6b70 100644
--- a/include/Inventor/SbBasic.h
+++ b/include/Inventor/SbBasic.h
@@ -25,6 +25,9 @@
\**************************************************************************/
#include <Inventor/C/basic.h>
+#ifndef NDEBUG
+#include <Inventor/C/errors/debugerror.h>
+#endif // !NDEBUG
/* ********************************************************************** */
/* Trap people trying to use Inventor headers while compiling C source code.
--
1.8.1.4