1208 + PyModule_AddIntConstant(mod, "UNKNOWN", DL_UNKNOWN); |
1208 + PyModule_AddIntConstant(mod, "UNKNOWN", DL_UNKNOWN); |
1209 + PyModule_AddIntConstant(mod, "UNBOUND", DL_UNBOUND); |
1209 + PyModule_AddIntConstant(mod, "UNBOUND", DL_UNBOUND); |
1210 + PyModule_AddIntConstant(mod, "IDLE", DL_IDLE); |
1210 + PyModule_AddIntConstant(mod, "IDLE", DL_IDLE); |
1211 + PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR); |
1211 + PyModule_AddIntConstant(mod, "SYSERR", DL_SYSERR); |
1212 +} |
1212 +} |
1213 diff --git Python-2.6.4/setup.py Python-2.6.4/setup.py |
1213 --- Python-2.7.6/setup.py.~3~ 2014-05-14 13:10:30.979598710 -0700 |
1214 --- Python-2.6.4/setup.py |
1214 +++ Python-2.7.6/setup.py 2014-05-14 13:10:31.006864446 -0700 |
1215 +++ Python-2.6.4/setup.py |
1215 @@ -1543,6 +1543,12 @@ |
1216 @@ -1284,6 +1284,12 @@ |
|
1217 exts.append( Extension('ucred', ['ucred.c'], |
1216 exts.append( Extension('ucred', ['ucred.c'], |
1218 libraries = ['tsol']) ) |
1217 libraries = ['tsol']) ) |
1219 |
1218 |
1220 + # dlpi module (Solaris) |
1219 + # dlpi module (Solaris) |
1221 + dlpi_inc = find_file('libdlpi.h', [], inc_dirs) |
1220 + dlpi_inc = find_file('libdlpi.h', [], inc_dirs) |
1224 + libraries = ['dlpi']) ) |
1223 + libraries = ['dlpi']) ) |
1225 + |
1224 + |
1226 # Thomas Heller's _ctypes module |
1225 # Thomas Heller's _ctypes module |
1227 self.detect_ctypes(inc_dirs, lib_dirs) |
1226 self.detect_ctypes(inc_dirs, lib_dirs) |
1228 |
1227 |
1229 diff --git Python-2.6.4/lib/test/dlpitest.py Python-2.6.4/Lib/test/dlpitest.py |
|
1230 new file mode 100644 |
|
1231 --- /dev/null 2011-02-12 03:13:26.000000000 -0600 |
1228 --- /dev/null 2011-02-12 03:13:26.000000000 -0600 |
1232 +++ Python-2.6.4/Lib/test/dlpitest.py 2011-01-20 13:52:42.895865414 -0600 |
1229 +++ Python-2.6.4/Lib/test/dlpitest.py 2011-01-20 13:52:42.895865414 -0600 |
1233 @@ -0,0 +1,96 @@ |
1230 @@ -0,0 +1,96 @@ |
1234 +#!/usr/bin/python2.7 |
1231 +#!/usr/bin/python2.7 |
1235 + |
1232 + |