diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-10-11 11:38:29 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-11-09 00:00:52 +0100 |
commit | 7998d1d3e5fb07370758513a4c13daff32507370 (patch) | |
tree | 996e6a447f3e58f83e13046f816aacc0a9d11263 /package/sfdisk/sfdisk.005.no-llseek-fix.patch | |
parent | f5e5aeb7125c065c535ecb0774ab48cb7ef4622e (diff) | |
download | buildroot-novena-7998d1d3e5fb07370758513a4c13daff32507370.tar.gz buildroot-novena-7998d1d3e5fb07370758513a4c13daff32507370.zip |
sfdisk: remove deprecated
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sfdisk/sfdisk.005.no-llseek-fix.patch')
-rw-r--r-- | package/sfdisk/sfdisk.005.no-llseek-fix.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/sfdisk/sfdisk.005.no-llseek-fix.patch b/package/sfdisk/sfdisk.005.no-llseek-fix.patch deleted file mode 100644 index 4ea571ce4..000000000 --- a/package/sfdisk/sfdisk.005.no-llseek-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur sfdisk_vanilla/sfdisk.c sfdisk_llseek-fix/sfdisk.c ---- sfdisk_vanilla/sfdisk.c 2004-01-13 13:03:11.000000000 +0000 -+++ sfdisk_llseek-fix/sfdisk.c 2008-04-17 08:42:35.000000000 +0000 -@@ -134,9 +137,17 @@ - * Note: we use 512-byte sectors here, irrespective of the hardware ss. - */ - #if defined(__linux__) && !defined (__alpha__) && !defined (__ia64__) && !defined (__x86_64__) && !defined (__s390x__) -+#if defined(_llseek) - static - _syscall5(int, _llseek, unsigned int, fd, ulong, hi, ulong, lo, - loff_t *, res, unsigned int, wh); -+#else -+static int _llseek (unsigned int fd, unsigned long oh, -+ unsigned long ol, long long *result, -+ unsigned int origin) { -+ return syscall (__NR__llseek, fd, oh, ol, result, origin); -+#endif -+} - #endif - - static int |