This patch contains all the Debian-specific changes mixed together. To review
them separately, please inspect the GIT history as described in the Vcs-git
field.
--- opencsg-1.5.0.orig/doc/index.html
+++ opencsg-1.5.0/doc/index.html
@@ -8,7 +8,6 @@
   <meta name="KeyWords" content="OpenCSG, CSG, image-based, image-based CSG, rendering, SCS, Goldfeather, OpenGL">
 
   <title>OpenCSG - The CSG rendering library</title>
-  <link rel="shortcut icon" href="http://www.opencsg.org/favicon.ico" type="image/ico">
 </head>
 
 <body style="font-family: verdana,arial,sans-serif; background-color: white;">
@@ -456,7 +455,7 @@ Currently, I know of the following appli
 </td>
 </tr>
 <tr>
-<td valign="top" style="text-align: center;"><a href="http://ayam.sourceforge.net"><img src="http://ayam.sourceforge.net/gp/ayam-splash-icon.jpg" alt="Ayam-Icon" /></a></td>
+<td valign="top" style="text-align: center;"><a href="http://ayam.sourceforge.net">Ayam</a></td>
 <td>
 	<a href="http://ayam.sourceforge.net">Ayam</a> is a 3D modelling environment for the RenderMan interface, 
 	running on Unix, Win32, and Mac OS X. Since version 1.8, Ayam provides the plugin aycsg for real-time CSG preview of complex CSG hierarchies using OpenCSG as rendering library. 
@@ -474,7 +473,7 @@ Currently, I know of the following appli
 </td>
 </tr>
 <tr>
-<td valign="top" style="text-align: center;"><a href="http://neuron-ai.tuke.sk/~wagner/projects-csg.php"><img src="img/koraxcsg.jpg" alt="Icon for KoraX CSG-Editor" /></a></td>
+<td valign="top" style="text-align: center;"><a href="http://neuron-ai.tuke.sk/~wagner/projects-csg.php">KoraX CSG-Editor</a></td>
 <td>
 	<a href="http://neuron-ai.tuke.sk/~wagner/projects-csg.php">koraX's CSG Editor</a>. This editor for
 	MS Windows allows to compose textured CSG shapes from a set of predefined primitives. The application
--- opencsg-1.5.0.orig/doc/news.html
+++ opencsg-1.5.0/doc/news.html
@@ -8,7 +8,6 @@
   <meta name="KeyWords" content="OpenCSG, CSG, image-based, image-based CSG, rendering, SCS, Goldfeather, OpenGL">
 
   <title>OpenCSG - News</title>
-  <link rel="shortcut icon" href="http://www.opencsg.org/favicon.ico" type="image/ico">
 </head>
 
 <body style="font-family: verdana,arial,sans-serif; background-color: white;">
--- opencsg-1.5.0.orig/doc/publications.html
+++ opencsg-1.5.0/doc/publications.html
@@ -8,7 +8,6 @@
   <meta name="KeyWords" content="OpenCSG, CSG, image-based, image-based CSG, rendering, SCS, Goldfeather, OpenGL">
 
   <title>Publications related to OpenCSG</title>
-  <link rel="shortcut icon" href="http://www.opencsg.org/favicon.ico" type="image/ico">
 </head>
 
 <body style="font-family: verdana,arial,sans-serif; background-color: white;">
--- opencsg-1.5.0.orig/example/example.pro
+++ opencsg-1.5.0/example/example.pro
@@ -4,7 +4,7 @@ TARGET = opencsgexample
 CONFIG += opengl warn_on release
 CONFIG -= qt
 INCLUDEPATH += ../include
-LIBS += -L../lib -lopencsg -lGLEW
+LIBS += -L../lib -lopencsg -lGLEW -lGL
 
 isEmpty(INSTALLDIR) {
   INSTALLDIR = /usr/local
--- opencsg-1.5.0.orig/include/opencsg.h
+++ opencsg-1.5.0/include/opencsg.h
@@ -32,6 +32,8 @@
 #define OPENCSG_VERSION 0x0150
 #define OPENCSG_VERSION_STRING "OpenCSG 1.5.0"
 
+#pragma GCC visibility push(default)
+
 namespace OpenCSG {
 
     enum Operation { Intersection, Subtraction };
@@ -251,4 +253,6 @@ namespace OpenCSG {
 
 } // namespace OpenCSG
 
+#pragma GCC visibility pop
+
 #endif // __OpenCSG__opencsg_h__
--- opencsg-1.5.0.orig/src/batch.cpp
+++ opencsg-1.5.0/src/batch.cpp
@@ -44,7 +44,7 @@ namespace OpenCSG {
 
         FullscreenPrimitive fullscreen;
 
-        const size_t numberOfPrimitives = primitives.size();
+        const std::size_t numberOfPrimitives = primitives.size();
         mBatches.reserve(numberOfPrimitives);
 
         std::vector<Batch> batchCandidates;
@@ -118,7 +118,7 @@ namespace OpenCSG {
         return mBatches.end();
     }
 
-    size_t Batcher::size() const {
+    std::size_t Batcher::size() const {
         return mBatches.size();
     }
 
--- opencsg-1.5.0.orig/src/batch.h
+++ opencsg-1.5.0/src/batch.h
@@ -28,6 +28,7 @@
 
 #include "opencsgConfig.h"
 #include <vector>
+#include <cstddef>
 
 namespace OpenCSG {
 
@@ -46,7 +47,7 @@ namespace OpenCSG {
         /// returns end of batches
         std::vector<Batch>::const_iterator end() const;
         /// return number of batches
-        size_t size() const;
+        std::size_t size() const;
 
     private:
         std::vector<Batch> mBatches;
--- opencsg-1.5.0.orig/src/renderSCS.cpp
+++ opencsg-1.5.0/src/renderSCS.cpp
@@ -299,7 +299,7 @@ namespace OpenCSG {
 
         void renderIntersectedFront(const std::vector<Primitive*>& primitives) {
 
-            const size_t numberOfPrimitives = primitives.size();
+            const std::size_t numberOfPrimitives = primitives.size();
 
             glDepthMask(GL_TRUE);
 
@@ -446,7 +446,7 @@ namespace OpenCSG {
         bool subtractPrimitivesWithOcclusionQueries(std::vector<Batch>::const_iterator begin,
                                                     std::vector<Batch>::const_iterator end) {
 
-            const size_t numberOfBatches = end - begin;
+            const std::size_t numberOfBatches = end - begin;
             if (numberOfBatches == 0) {
                 return true;
             }
