Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 135903 Details for
Bug 199051
Audit 1.5.4 failing to install
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Removes if-block which causes older gcc to choke
audit-1.5.4-multiline-string-fail-older-gcc.diff (text/plain), 1.41 KB, created by
Tais P. Hansen
on 2007-11-13 16:00:53 UTC
(
hide
)
Description:
Removes if-block which causes older gcc to choke
Filename:
MIME Type:
Creator:
Tais P. Hansen
Created:
2007-11-13 16:00:53 UTC
Size:
1.41 KB
patch
obsolete
>--- bindings/python/auparse_python.c.orig 2007-11-13 16:54:00.698756334 +0100 >+++ bindings/python/auparse_python.c 2007-11-13 16:54:33.701112007 +0100 >@@ -1172,56 +1172,9 @@ > value = auparse_interpret_field(self->au); > return Py_BuildValue("s", value); > } > >-#if 0 >-/******************************** >- * >- ********************************/ >-PyDoc_STRVAR(_doc, >-" >-\n\ >-No Return value, raises exception (EnvironmentError) on error.\n\ >-"); >-static PyObject * >-AuParser_(AuParser *self, PyObject *args) >-{ >- int result; >- >- if (!PyArg_ParseTuple(args, "", &)) return NULL; >- PARSER_CHECK; >- >- if (result == 0) Py_RETURN_NONE; >- PyErr_SetFromErrno(PyExc_EnvironmentError); >- return NULL; >-} >- {"", (PyCFunction)AuParser_, METH_VARARGS, _doc}, >- >- >-/******************************** >- * >- ********************************/ >-PyDoc_STRVAR(_doc, >-" >-\n\ >-Returns True on success, False if \n\ >-Raises exception (EnvironmentError) on error.\n\ >-"); >-static PyObject * >-AuParser_(AuParser *self) >-{ >- int result; >- >- PARSER_CHECK; >- result = self->au); >- >- if (result > 0) Py_RETURN_TRUE; >- if (result == 0) Py_RETURN_FALSE; >- PyErr_SetFromErrno(PyExc_EnvironmentError); >- return NULL; >-} >- {"", (PyCFunction)AuParser_, METH_NOARGS, _doc}, >-#endif >+/* Removed if-block which broke gcc */ > > static > PyGetSetDef AuParser_getseters[] = { > {NULL} /* Sentinel */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199051
:
135901
| 135903