SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
net/miniupnp/miniupnpc/patches/patch-miniupnpcmodule_c
Normal file
18
net/miniupnp/miniupnpc/patches/patch-miniupnpcmodule_c
Normal file
|
@ -0,0 +1,18 @@
|
|||
Fix error: expected expression before '/' token
|
||||
|
||||
Index: miniupnpcmodule.c
|
||||
--- miniupnpcmodule.c.orig
|
||||
+++ miniupnpcmodule.c
|
||||
@@ -323,9 +323,9 @@ Py_END_ALLOW_THREADS
|
||||
}
|
||||
else
|
||||
{
|
||||
- // TODO: RAISE an Exception. See upnpcommands.h for errors codes.
|
||||
- // upnperrors.c
|
||||
- //Py_RETURN_FALSE;
|
||||
+ /* TODO: RAISE an Exception. See upnpcommands.h for errors codes. */
|
||||
+ /* upnperrors.c */
|
||||
+ /* Py_RETURN_FALSE; */
|
||||
/* TODO: have our own exception type ! */
|
||||
PyErr_SetString(PyExc_Exception, strupnperror(r));
|
||||
return NULL;
|
Loading…
Add table
Add a link
Reference in a new issue