mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
Update to latest stable release, canonicalize patch filenames, eliminate GCC dependency and MAKE_JOBS_UNSAFE, replace files/condor_config.in with version-specific example file provided in the dist, move sample files to etc/*.sample, improvements to condor_config.local.sample and condor-config script, make rc script more reliable by replacing fixed sleep delays with more intelligent wait loops. PR: 200713 Submitted by: jwbacon@tds.net (maintainer)
24 lines
606 B
C++
24 lines
606 B
C++
--- src/python-bindings/secman.cpp.orig 2015-04-07 15:10:11 UTC
|
|
+++ src/python-bindings/secman.cpp
|
|
@@ -7,6 +7,21 @@
|
|
# include <pyport.h>
|
|
# endif
|
|
|
|
+/*
|
|
+ * #include <Python.h> solves a ctype function overload issue, but causes
|
|
+ * a dprintf() conflict. Redefining dprintf and getline disables them in
|
|
+ * in stdio.h, #included by Python.h, so they don't collide with the condor
|
|
+ * versions.
|
|
+ */
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+#define dprintf _hide_dprintf
|
|
+#define getline _hide_getline
|
|
+#include <Python.h>
|
|
+#undef getline
|
|
+#undef dprintf
|
|
+#endif
|
|
+
|
|
#include "condor_common.h"
|
|
|
|
#include <boost/python.hpp>
|