components/python/python27/patches/07-dlpi.patch
changeset 3555 76f4672c5e4b
parent 2028 6fa8f5812e20
child 4698 4e27e549b58d
equal deleted inserted replaced
3554:ef58713bafc4 3555:76f4672c5e4b
  1207 +	PyModule_AddIntConstant(mod, "UNKNOWN", DL_UNKNOWN);
  1207 +	PyModule_AddIntConstant(mod, "UNKNOWN", DL_UNKNOWN);
  1208 +	PyModule_AddIntConstant(mod, "UNBOUND", DL_UNBOUND);
  1208 +	PyModule_AddIntConstant(mod, "UNBOUND", DL_UNBOUND);
  1209 +	PyModule_AddIntConstant(mod, "IDLE", DL_IDLE);
  1209 +	PyModule_AddIntConstant(mod, "IDLE", DL_IDLE);
  1210 +	PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR);
  1210 +	PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR);
  1211 +}
  1211 +}
  1212 --- Python-2.7.8/setup.py.~3~	2014-07-17 20:43:48.715101356 -0700
  1212 --- Python-2.7.9/setup.py.~3~	2014-12-11 09:22:38.862438509 -0800
  1213 +++ Python-2.7.8/setup.py	2014-07-17 20:43:48.731874294 -0700
  1213 +++ Python-2.7.9/setup.py	2014-12-11 09:22:38.882370033 -0800
  1214 @@ -1549,6 +1549,12 @@
  1214 @@ -1551,6 +1551,12 @@
  1215              exts.append( Extension('ucred', ['ucred.c'],
  1215              exts.append( Extension('ucred', ['ucred.c'],
  1216                                     libraries = ['tsol']) )
  1216                                     libraries = ['tsol']) )
  1217  
  1217  
  1218 +        # dlpi module (Solaris)
  1218 +        # dlpi module (Solaris)
  1219 +        dlpi_inc = find_file('libdlpi.h', [], inc_dirs)
  1219 +        dlpi_inc = find_file('libdlpi.h', [], inc_dirs)