]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
use raw.h from glibc, not kernel headers
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 30 Jun 2001 11:57:36 +0000 (11:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-linux-raw.patch -> 1.1

util-linux-raw.patch [new file with mode: 0644]

diff --git a/util-linux-raw.patch b/util-linux-raw.patch
new file mode 100644 (file)
index 0000000..8b4559f
--- /dev/null
@@ -0,0 +1,43 @@
+--- ./disk-utils/raw.c.orig    Sat Jun 30 13:03:56 2001
++++ ./disk-utils/raw.c Sat Jun 30 13:54:54 2001
+@@ -19,7 +19,7 @@
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/sysmacros.h>
+-#include <linux/raw.h>
++#include <sys/raw.h>
+ #include <linux/major.h>
+ #ifdef OLD_RAW_DEVS
+@@ -30,6 +30,8 @@
+ #define RAWDEVDIR "/dev/raw/"
+ #endif
++#undef __LINUX_RAW_H
++#define __LINUX_RAW_H __SYSTEM_RAW_H
+ char *        progname;
+ int   do_query = 0;
+--- ./configure.orig   Sat Jun 30 13:13:31 2001
++++ ./configure        Sat Jun 30 13:52:00 2001
+@@ -35,7 +35,7 @@
+ # 11. For pivot_root.c: does <linux/unistd.h> define __NR_pivot_root?
+ # 12. For hwclock.c: does struct tm have a field tm_gmtoff?
+ # 13. For nfsmount: does the output of rpcgen compile?
+-# 14. For raw.c: does <linux/raw.h> exist?
++# 14. For raw.c: does <sys/raw.h> exist?
+ rm -f make_include defines.h
+@@ -601,9 +601,9 @@
+ rm -f conftestx.o conftestl.o
+ #
+-# 14. For raw.c: does <linux/raw.h> exist?
++# 14. For raw.c: does <sys/raw.h> exist?
+ #
+-if ./testincl "linux/raw.h"; then
++if ./testincl "sys/raw.h"; then
+        echo "ADD_RAW=yes" >> make_include
+ fi
This page took 0.253663 seconds and 4 git commands to generate.