SOURCES: dmraid-diet.patch (NEW) - dietlibc doesn't have lseek64 too

baggins baggins at pld-linux.org
Thu Mar 19 00:15:42 CET 2009


Author: baggins                      Date: Wed Mar 18 23:15:42 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- dietlibc doesn't have lseek64 too

---- Files affected:
SOURCES:
   dmraid-diet.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dmraid-diet.patch
diff -u /dev/null SOURCES/dmraid-diet.patch:1.1
--- /dev/null	Thu Mar 19 00:15:42 2009
+++ SOURCES/dmraid-diet.patch	Thu Mar 19 00:15:36 2009
@@ -0,0 +1,11 @@
+--- dmraid/lib/misc/file.c~	2008-06-12 12:54:32.000000000 +0200
++++ dmraid/lib/misc/file.c	2009-03-19 00:14:33.000000000 +0100
+@@ -69,7 +69,7 @@
+ 	if ((fd = open(path, flags, lc->mode)) == -1)
+ 		LOG_ERR(lc, 0, "opening \"%s\"", path);
+ 
+-#ifdef __KLIBC__
++#if defined(__KLIBC__) || defined(__dietlibc__)
+ #define	DMRAID_LSEEK	lseek
+ #else
+ #define	DMRAID_LSEEK	lseek64
================================================================


More information about the pld-cvs-commit mailing list