freebsd-ports/devel/clint/files/patch-lib-python-python.cc
Martin Wilke 9e988e2e8e - Fix build with gcc 4.2
PR:		117789
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-05 10:04:20 +00:00

11 lines
257 B
C++

--- lib/python/python.cc.orig 2007-11-03 16:32:34.000000000 +0100
+++ lib/python/python.cc 2007-11-03 16:33:48.000000000 +0100
@@ -115,6 +115,8 @@
} else {
return import_module(modname);
}
+
+ return (NULL);
}
// }}}