components/python/python27/patches/06-ucred.patch
changeset 2028 6fa8f5812e20
parent 1954 32663e59626d
child 3555 76f4672c5e4b
equal deleted inserted replaced
2027:cd5205b6221a 2028:6fa8f5812e20
   392 +
   392 +
   393 +	Py_INCREF(&pyucred_type);
   393 +	Py_INCREF(&pyucred_type);
   394 +
   394 +
   395 +	PyModule_AddObject(m, "ucred", (PyObject *)&pyucred_type);
   395 +	PyModule_AddObject(m, "ucred", (PyObject *)&pyucred_type);
   396 +}
   396 +}
   397 --- Python-2.7.7/setup.py.~2~	2014-06-02 10:45:51.780497065 -0700
   397 --- Python-2.7.8/setup.py.~2~	2014-07-17 20:41:55.688200021 -0700
   398 +++ Python-2.7.7/setup.py	2014-06-02 10:45:51.850419067 -0700
   398 +++ Python-2.7.8/setup.py	2014-07-17 20:41:55.733063564 -0700
   399 @@ -1540,6 +1540,13 @@
   399 @@ -1542,6 +1542,13 @@
   400          else:
   400          else:
   401              missing.append('dl')
   401              missing.append('dl')
   402  
   402  
   403 +        # ucred module (Solaris)
   403 +        # ucred module (Solaris)
   404 +        ucred_inc = find_file('ucred.h', [], inc_dirs)
   404 +        ucred_inc = find_file('ucred.h', [], inc_dirs)