components/python/python27/patches/07-dlpi.patch
changeset 4698 4e27e549b58d
parent 3555 76f4672c5e4b
child 6445 0edecb568b2e
equal deleted inserted replaced
4697:2be298b79293 4698:4e27e549b58d
  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.9/setup.py.~3~	2014-12-11 09:22:38.862438509 -0800
  1212 --- Python-2.7.10/setup.py.~3~	2015-05-10 10:17:06 -0800
  1213 +++ Python-2.7.9/setup.py	2014-12-11 09:22:38.882370033 -0800
  1213 +++ Python-2.7.10/setup.py	2015-05-18 14:39:38 -0800
  1214 @@ -1551,6 +1551,12 @@
  1214 @@ -1570,6 +1570,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)