SOURCES: python-M2Crypto-py_ssize_t.patch (NEW) - Build patch for ...
beorn
beorn at pld-linux.org
Wed Oct 10 18:30:06 CEST 2007
Author: beorn Date: Wed Oct 10 16:30:06 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- Build patch for version 0.18.1
---- Files affected:
SOURCES:
python-M2Crypto-py_ssize_t.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-M2Crypto-py_ssize_t.patch
diff -u /dev/null SOURCES/python-M2Crypto-py_ssize_t.patch:1.1
--- /dev/null Wed Oct 10 18:30:06 2007
+++ SOURCES/python-M2Crypto-py_ssize_t.patch Wed Oct 10 18:30:01 2007
@@ -0,0 +1,12 @@
+diff -Nru m2crypto-0.18.1.orig/SWIG/_lib.h m2crypto-0.18.1/SWIG/_lib.h
+--- m2crypto-0.18.1.orig/SWIG/_lib.h 2007-10-10 18:13:27.272883250 +0200
++++ m2crypto-0.18.1/SWIG/_lib.h 2007-10-10 18:11:49.078746500 +0200
+@@ -1,7 +1,7 @@
+ /* Copyright (c) 1999 Ng Pheng Siong. All rights reserved. */
+ /* $Id$ */
+
+-#if PY_VERSION_HEX < 0x02050000
++#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
+ typedef int Py_ssize_t;
+ #endif
+
================================================================
More information about the pld-cvs-commit
mailing list