components/python/python27/patches/06-ucred.patch
changeset 6445 0edecb568b2e
parent 4698 4e27e549b58d
equal deleted inserted replaced
6442:f900f128dbb9 6445:0edecb568b2e
   394 +
   394 +
   395 +	PyModule_AddObject(m, "ucred", (PyObject *)&pyucred_type);
   395 +	PyModule_AddObject(m, "ucred", (PyObject *)&pyucred_type);
   396 +}
   396 +}
   397 --- Python-2.7.10/setup.py.~2~	2015-05-10 10:17:06 -0800
   397 --- Python-2.7.10/setup.py.~2~	2015-05-10 10:17:06 -0800
   398 +++ Python-2.7.10/setup.py	2015-05-18 14:37:00 -0800
   398 +++ Python-2.7.10/setup.py	2015-05-18 14:37:00 -0800
   399 @@ -1563,6 +1563,13 @@
   399 @@ -1583,6 +1583,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)