[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#124289: korelib: Build failure with gcc 3.0 (hppa)



Package: korelib
Version: 0.0.1-7
Severity: important
Tags: patch

Build fails on hppa because of gcc 3.0 errors.  The patch below fixes the
problem.  Since this package is a build-dependency of another package, and
the fix is trivial, I will probably upload a source NMU within the next few
days.

=======================================================================
diff -ur t/korelib-0.0.1/include/kore/servicemanager.h korelib-0.0.1/include/kore/servicemanager.h
--- t/korelib-0.0.1/include/kore/servicemanager.h	Mon Sep  4 16:35:26 2000
+++ korelib-0.0.1/include/kore/servicemanager.h	Sun Dec 16 20:55:44 2001
@@ -6,7 +6,11 @@
 #ifdef WIN32
 #include <map>
 #else
+#if (__GNUC__<3)
 #include <hash_map>
+#else
+#include <ext/hash_map>
+#endif
 #endif
 #include <set>
 
=======================================================================

-- System Information
Debian Release: 3.0
Kernel Version: Linux smallone 2.4.9-pa79 #2 Thu Nov 8 18:18:02 MST 2001 parisc64 unknown




Reply to: