]> git.pld-linux.org Git - packages/hdparm.git/blame - hdparm-ioctl.patch
up to 9.60
[packages/hdparm.git] / hdparm-ioctl.patch
CommitLineData
5c255cb7
JB
1--- hdparm-8.8/hdparm.h.orig 2008-06-03 17:35:07.000000000 +0200
2+++ hdparm-8.8/hdparm.h 2008-06-12 18:15:49.971172186 +0200
3@@ -75,5 +75,5 @@
4 #ifdef BLKGETSIZE64
5 #undef BLKGETSIZE64
6 #endif
7-#define BLKGETSIZE64 _IOR(0x12,114,__u64)
8+#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* broken __u64 arg actually */
9
6aca7301
JB
10--- hdparm-9.3/Makefile.orig 2008-11-02 23:18:05.000000000 +0100
11+++ hdparm-9.3/Makefile 2008-11-06 21:30:37.321553760 +0100
12@@ -31,6 +31,8 @@
5c255cb7
JB
13 $(CC) $(LDFLAGS) -o hdparm $(OBJS)
14 strip hdparm
15
5c255cb7 16+geom.o: hdparm.h
6aca7301 17+
5c255cb7
JB
18 hdparm.o: hdparm.h sgio.h
19
6aca7301 20 identify.o: hdparm.h
This page took 0.034521 seconds and 4 git commands to generate.