Requires assert.h include to build on hardy

Bug #301800 reported by Ryan Lovett
4
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: cups

I wanted to use the latest CUPS package on hardy to use unbackported fixes. pdftoijs.cxx which is provided in the debian diff calls assert() and required the following to complete compilation:

--- filter/pdftoijs.cxx.orig 2008-11-24 11:43:32.485526000 -0800
+++ filter/pdftoijs.cxx 2008-11-24 11:38:50.121850000 -0800
@@ -30,6 +30,7 @@
 #include <config.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <assert.h>
 #include <goo/GooString.h>
 #include <goo/gmem.h>
 #include <Object.h>

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. I'm not sure this is something we could have fixed then, but this should definitely be there in modern releases. Closing

Changed in cups (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.