components/python/python34/patches/08-dlpi.patch
branchs11-update
changeset 3786 fa9d2da4d216
parent 3779 d01825f968e9
child 3869 eb4c6284602f
equal deleted inserted replaced
3785:6a3f91179f05 3786:fa9d2da4d216
  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.4.1/setup.py.~4~	2014-05-27 11:03:49.734697487 -0700
  1226 --- Python-3.4.2/setup.py.~4~	2014-09-22 14:13:40.664675485 -0700
  1227 +++ Python-3.4.1/setup.py	2014-05-27 11:03:49.752000275 -0700
  1227 +++ Python-3.4.2/setup.py	2014-09-22 14:13:40.683389017 -0700
  1228 @@ -1484,6 +1484,12 @@
  1228 @@ -1492,6 +1492,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)
  1236 +                                   libraries = ['dlpi']) )
  1236 +                                   libraries = ['dlpi']) )
  1237 +
  1237 +
  1238          # Thomas Heller's _ctypes module
  1238          # Thomas Heller's _ctypes module
  1239          self.detect_ctypes(inc_dirs, lib_dirs)
  1239          self.detect_ctypes(inc_dirs, lib_dirs)
  1240  
  1240  
  1241 diff --git Python-2.6.4/lib/test/dlpitest.py Python-2.6.4/Lib/test/dlpitest.py
       
  1242 new file mode 100644
       
  1243 --- /dev/null	2011-02-12 03:13:26.000000000 -0600
  1241 --- /dev/null	2011-02-12 03:13:26.000000000 -0600
  1244 +++ Python-2.6.4/Lib/test/dlpitest.py	2011-01-20 13:52:42.895865414 -0600
  1242 +++ Python-2.6.4/Lib/test/dlpitest.py	2011-01-20 13:52:42.895865414 -0600
  1245 @@ -0,0 +1,96 @@
  1243 @@ -0,0 +1,96 @@
  1246 +#!/usr/bin/python3.4
  1244 +#!/usr/bin/python3.4
  1247 +
  1245 +