ports/math/py-gsl/files/patch-src_init_initmodule.c
Mathieu Arnold 6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00

19 lines
467 B
C

--- 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