Re: Please NMU [Was Bug#197232: panorama: FTBFS with g++-3.3: Link errors]
On Sun, Jul 06, 2003 at 11:55:37AM +0100, Colin Watson wrote:
> On Sun, Jul 06, 2003 at 11:22:38AM +0200, Marcelo E. Magallon wrote:
> > >> Daniel Schepler <schepler@math.berkeley.edu> writes:
> > > And here's the patch...
> >
> > can someone from -qa please NMU panorama with this patch. I'm short on
> > HD space and I can't upgrade my chroot right now.
>
> I'm working on it now.
Done. Here's the full diff:
--- panorama-0.13.2/debian/changelog
+++ panorama-0.13.2/debian/changelog
@@ -1,3 +1,11 @@
+panorama (0.13.2-3.1) unstable; urgency=low
+
+ * Non-maintainer upload at maintainer's request.
+ * Fix link failure with g++-3.3 by including plugin headers only in static
+ mode (thanks, Daniel Schepler; closes: #197232).
+
+ -- Colin Watson <cjwatson@debian.org> Sun, 6 Jul 2003 12:30:09 +0100
+
panorama (0.13.2-3) unstable; urgency=low
* debian/control: correct misspelling. I'm really sorry, but somehow I
--- panorama-0.13.2.orig/hlapi/plugins_all.h
+++ panorama-0.13.2/hlapi/plugins_all.h
@@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#if ( STATIC_LINK == 1 )
#include "plugins/atm_object/atm_const/atm_const.h"
#include "plugins/bsdf/cook_torrance/bsdf_cook_torrance.h"
#include "plugins/bsdf/lambertian/bsdf_lambertian.h"
@@ -51,3 +52,4 @@
#include "plugins/object_filter/convert_to_grey/of_convert_to_grey.h"
#include "plugins/renderer/raytracer/raytracer.h"
#include "plugins/renderer/zbuffer/zbuffer.h"
+#endif
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: