From 4449cfbd00ef251965535e1d53cca33f36683657 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 29 Sep 2006 09:52:58 +0000 Subject: glibc* 2.4 add proper fix for building against recent linux userland headers repairs breakage introduce by previous patches. thanks Jamie Lenehan. --- .../glibc/glibc-2.4/openat-bugzilla-fix-1220.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 packages/glibc/glibc-2.4/openat-bugzilla-fix-1220.patch (limited to 'packages/glibc/glibc-2.4/openat-bugzilla-fix-1220.patch') diff --git a/packages/glibc/glibc-2.4/openat-bugzilla-fix-1220.patch b/packages/glibc/glibc-2.4/openat-bugzilla-fix-1220.patch deleted file mode 100644 index dff7c73da7..0000000000 --- a/packages/glibc/glibc-2.4/openat-bugzilla-fix-1220.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- glibc-2.4/sysdeps/unix/sysv/linux/openat.orig 2006-03-01 07:32:42.000000000 +0200 -+++ glibc-2.4/sysdeps/unix/sysv/linux/openat.c 2006-04-30 19:15:52.000000000 +0300 -@@ -27,6 +27,9 @@ - #include - #include - -+#if !defined OPENAT -+# define OPENAT openat -+#endif - - #if !defined OPENAT && !defined __ASSUME_ATFCTS - # define OPENAT openat -@@ -70,11 +73,7 @@ int __have_atfcts; - - - int --OPENAT_NOT_CANCEL (fd, file, oflag, mode) -- int fd; -- const char *file; -- int oflag; -- mode_t mode; -+OPENAT_NOT_CANCEL (int fd, const char *file, int oflag, mode_t mode) - { - - /* We have to add the O_LARGEFILE flag for openat64. */ -@@ -144,10 +143,7 @@ OPENAT_NOT_CANCEL (fd, file, oflag, mode - the directory associated with FD. If OFLAG includes O_CREAT, a - third argument is the file protection. */ - int --__OPENAT (fd, file, oflag) -- int fd; -- const char *file; -- int oflag; -+__OPENAT (int fd, const char *file, int oflag, ...) - { - mode_t mode = 0; - if (oflag & O_CREAT) -- cgit v1.2.3