summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-02-13 01:13:25 +0000
committerNed Ludd <solar@gentoo.org>2004-02-13 01:13:25 +0000
commitc8025e784d5fc83a755efcfcb5667fca01687ed6 (patch)
treea0abfa0beee78d797eae85866118b8f8960433b6 /sys-fs/devfsd/files
parentadded asterisk-0.7.2 ebuild (diff)
downloadhistorical-c8025e784d5fc83a755efcfcb5667fca01687ed6.tar.gz
historical-c8025e784d5fc83a755efcfcb5667fca01687ed6.tar.bz2
historical-c8025e784d5fc83a755efcfcb5667fca01687ed6.zip
make devfsd pic capable
Diffstat (limited to 'sys-fs/devfsd/files')
-rw-r--r--sys-fs/devfsd/files/devfsd-1.3.25-pic.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch b/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch
new file mode 100644
index 000000000000..67e325333c07
--- /dev/null
+++ b/sys-fs/devfsd/files/devfsd-1.3.25-pic.patch
@@ -0,0 +1,16 @@
+--- check_kernel.c.orig 2004-02-06 16:41:32.000000000 -0500
++++ check_kernel.c 2004-02-06 16:41:55.000000000 -0500
+@@ -6,13 +6,8 @@
+
+ extern char *modules_devfs;
+
+-/* copied over from module-init-tools backward_compat.c */
+-#ifndef __ia64 /* breaks ia64. */
+-static _syscall2(long, create_module, const char *, name, size_t, size);
+-#else
+ #define create_module(name, size) \
+ syscall(__NR_create_module, (name), (size))
+-#endif
+
+ /* returns true if we have a 2.5.48+ kernel */
+ int check_kernel_version (int verbose)