SOURCES: python-pyblock-ULLLLLL.patch (NEW) - can't get ULLONG_MAX...

glen glen at pld-linux.org
Tue May 16 22:46:51 CEST 2006


Author: glen                         Date: Tue May 16 20:46:51 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- can't get ULLONG_MAX, hack (smb plz do it properly)

---- Files affected:
SOURCES:
   python-pyblock-ULLLLLL.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-pyblock-ULLLLLL.patch
diff -u /dev/null SOURCES/python-pyblock-ULLLLLL.patch:1.1
--- /dev/null	Tue May 16 22:46:51 2006
+++ SOURCES/python-pyblock-ULLLLLL.patch	Tue May 16 22:46:46 2006
@@ -0,0 +1,14 @@
+stupid define to get ULLONG_MAX
+and all because #include <limits.h> failed.
+
+--- pyblock-0.15/dmraid.c~	2006-05-16 23:45:09.807029651 +0300
++++ pyblock-0.15/dmraid.c	2006-05-16 23:45:12.027079592 +0300
+@@ -8,6 +8,8 @@
+ #define _GNU_SOURCE
+ #include <stdio.h>
+ 
++#define ULLONG_MAX	18446744073709551615ULL
++
+ #if 0
+ #define Py_REF_DEBUG 1
+ #endif
================================================================


More information about the pld-cvs-commit mailing list