1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/math/py-gsl/files/patch-src_init_initmodule.c
Volker Stolz 1a0652eef3 Unbreak on 4.x
Approved by: perky (maintainer)
2005-11-02 12:11:50 +00:00

23 lines
479 B
C

$FreeBSD$
--- src/init/initmodule.c.orig
+++ src/init/initmodule.c
@@ -83,7 +83,7 @@
FUNC_MESS_BEGIN();
#if DEBUG == 1
- PyObject *o;
+ { PyObject *o;
int tmp, i, max, *ptr;
if(!PyArg_ParseTuple(args, "i", &tmp))
return NULL;
@@ -108,6 +108,7 @@
Py_INCREF(Py_None);
FUNC_MESS_END();
return Py_None;
+ }
#else
GSL_ERROR_NULL("PyGSL was not compiled with DEBUG = 1; Can not set DEBUG level!", GSL_EUNIMPL);
#endif