components/python/python27/patches/06-ucred.patch
changeset 3555 76f4672c5e4b
parent 2028 6fa8f5812e20
child 4698 4e27e549b58d
equal deleted inserted replaced
3554:ef58713bafc4 3555:76f4672c5e4b
   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.8/setup.py.~2~	2014-07-17 20:41:55.688200021 -0700
   397 --- Python-2.7.9/setup.py.~2~	2014-12-11 09:21:22.692567515 -0800
   398 +++ Python-2.7.8/setup.py	2014-07-17 20:41:55.733063564 -0700
   398 +++ Python-2.7.9/setup.py	2014-12-11 09:21:22.772123046 -0800
   399 @@ -1542,6 +1542,13 @@
   399 @@ -1544,6 +1544,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)