components/python/python35/patches/08-dlpi.patch
changeset 6447 56a2f066191a
parent 5184 6c2a9525f3a4
child 6903 9681a8af4330
equal deleted inserted replaced
6446:b54de573b4e9 6447:56a2f066191a
  1221 +	PyModule_AddIntConstant(mod, "IDLE", DL_IDLE);
  1221 +	PyModule_AddIntConstant(mod, "IDLE", DL_IDLE);
  1222 +	PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR);
  1222 +	PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR);
  1223 +
  1223 +
  1224 +	return mod;
  1224 +	return mod;
  1225 +}
  1225 +}
  1226 --- Python-3.5.0a4/setup.py.~4~	2015-04-20 13:28:29.633806027 -0700
  1226 --- Python-3.5.2/setup.py.~4~	2016-07-08 06:55:41.015494673 -0700
  1227 +++ Python-3.5.0a4/setup.py	2015-04-20 13:28:29.649896175 -0700
  1227 +++ Python-3.5.2/setup.py	2016-07-08 06:55:41.034639922 -0700
  1228 @@ -1540,6 +1540,12 @@
  1228 @@ -1572,6 +1572,12 @@
  1229              exts.append( Extension('ucred', ['ucred.c'],
  1229              exts.append( Extension('ucred', ['ucred.c'],
  1230                                     libraries = ['tsol']) )
  1230                                     libraries = ['tsol']) )
  1231  
  1231  
  1232 +        # dlpi module (Solaris)
  1232 +        # dlpi module (Solaris)
  1233 +        dlpi_inc = find_file('libdlpi.h', [], inc_dirs)
  1233 +        dlpi_inc = find_file('libdlpi.h', [], inc_dirs)