Subject: | [PATCH] for perl 5.8.1 and above |
CDB_File does not work anymore on 5.8.2 (see cpan-testers for a
report). The attached patch should fix the problem.
Regards,
Slaven
diff -up 'build/CDB_File-0.92/CDB_File.xs' 'new.build/CDB_File-0.92/CDB_File.xs'
Index: ./CDB_File.xs
--- ./CDB_File.xs Thu Dec 5 15:36:39 2002
+++ ./CDB_File.xs Fri Mar 28 01:09:21 2003
@@ -66,6 +66,10 @@ EINVAL. */
#ifndef WARN_UNINITIALIZED
#define ckWARN(x) dowarn
#define report_uninit() warn(warn_uninit)
+#else
+#if PERL_VERSION > 8 || (PERL_VERSION == 8 && PERL_SUBVERSION >= 1)
+#define report_uninit() Perl_report_uninit()
+#endif
#endif
#ifdef __cplusplus