Author: baggins                      Date: Mon Apr  6 14:56:51 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- lseek64 == lseek on 64 bit

---- Files affected:
SOURCES:
   suspend-diet.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/suspend-diet.patch
diff -u SOURCES/suspend-diet.patch:1.1 SOURCES/suspend-diet.patch:1.2
--- SOURCES/suspend-diet.patch:1.1      Mon Apr  6 16:48:59 2009
+++ SOURCES/suspend-diet.patch  Mon Apr  6 16:56:46 2009
@@ -93,3 +93,16 @@
                return;
        }
        /* No more extents.  Load the next extents page. */
+--- suspend/resume.c~  2009-01-27 10:48:49.000000000 +0100
++++ suspend/resume.c   2009-04-06 16:53:52.000000000 +0200
+@@ -35,6 +35,10 @@
+ #include "splash.h"
+ #include "loglevel.h"
+ 
++#if defined(__dietlibc__) && (__WORDSIZE == 64)
++#define lseek64 lseek
++#endif
++
+ static char snapshot_dev_name[MAX_STR_LEN] = SNAPSHOT_DEVICE;
+ static char resume_dev_name[MAX_STR_LEN] = RESUME_DEVICE;
+ static loff_t resume_offset;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/suspend-diet.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to