SOURCES: hdparm-ioctl.patch (NEW) - proper BLKGETSIZE64 wrt. broken initial...

qboosh qboosh at pld-linux.org
Thu Jun 12 18:34:35 CEST 2008


Author: qboosh                       Date: Thu Jun 12 16:34:35 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- proper BLKGETSIZE64 wrt. broken initial definition
- missing dependency

---- Files affected:
SOURCES:
   hdparm-ioctl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/hdparm-ioctl.patch
diff -u /dev/null SOURCES/hdparm-ioctl.patch:1.1
--- /dev/null	Thu Jun 12 18:34:35 2008
+++ SOURCES/hdparm-ioctl.patch	Thu Jun 12 18:34:30 2008
@@ -0,0 +1,20 @@
+--- hdparm-8.8/hdparm.h.orig	2008-06-03 17:35:07.000000000 +0200
++++ hdparm-8.8/hdparm.h	2008-06-12 18:15:49.971172186 +0200
+@@ -75,5 +75,5 @@
+ #ifdef BLKGETSIZE64
+ #undef BLKGETSIZE64
+ #endif
+-#define BLKGETSIZE64 _IOR(0x12,114,__u64)
++#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* broken __u64 arg actually */
+ 
+--- hdparm-8.8/Makefile.orig	2008-06-02 18:58:29.000000000 +0200
++++ hdparm-8.8/Makefile	2008-06-12 18:16:39.325984756 +0200
+@@ -31,7 +31,7 @@
+ 	$(CC) $(LDFLAGS) -o hdparm $(OBJS)
+ 	strip hdparm
+ 
+-sgio.o:	sgio.h
++geom.o:	hdparm.h
+ 
+ hdparm.o:	hdparm.h sgio.h
+ 
================================================================


More information about the pld-cvs-commit mailing list