diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-03 18:07:34 +0200 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-09-04 09:19:48 -0400 |
commit | f10cf38335db18e7129919c317468dffbb1317b3 (patch) | |
tree | 4d36df98acbd19e60685608cfff3efa421e5c5d5 /dev-libs/libaio | |
parent | app-emacs/ebuild-mode-1.31-r0: add alpha keyword (diff) | |
download | gentoo-f10cf38335db18e7129919c317468dffbb1317b3.tar.gz gentoo-f10cf38335db18e7129919c317468dffbb1317b3.tar.bz2 gentoo-f10cf38335db18e7129919c317468dffbb1317b3.zip |
dev-libs/libaio: remove unused patches
Diffstat (limited to 'dev-libs/libaio')
7 files changed, 0 insertions, 452 deletions
diff --git a/dev-libs/libaio/files/libaio-0.3.106-build.patch b/dev-libs/libaio/files/libaio-0.3.106-build.patch deleted file mode 100644 index 812c2a4b0ea4..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.106-build.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- src/Makefile.orig 2006-07-09 19:46:41.000000000 -0700 -+++ src/Makefile 2006-07-09 19:51:00.000000000 -0700 -@@ -2,11 +2,10 @@ - includedir=$(prefix)/include - libdir=$(prefix)/lib - --ARCH := $(shell uname -m | sed -e s/i.86/i386/) --CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC --SO_CFLAGS=-shared $(CFLAGS) -+CFLAGS += -nostdlib -nostartfiles -Wall -I. -fPIC -+SO_CFLAGS=-shared $(CFLAGS) - L_CFLAGS=$(CFLAGS) --LINK_FLAGS= -+LINK_FLAGS=-lgcc -lrt $(LDFLAGS) - - soname=libaio.so.1 - minor=0 diff --git a/dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch b/dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch deleted file mode 100644 index d1ec1403a0e9..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/src/Makefile -+++ b/src/Makefile -@@ -42,10 +42,12 @@ - $(CC) $(L_CFLAGS) -c -o $@ $< - - -+AR ?= ar -+RANLIB ?= ranlib - libaio.a: $(libaio_objs) - rm -f libaio.a -- ar r libaio.a $^ -- ranlib libaio.a -+ $(AR) r libaio.a $^ -+ $(RANLIB) libaio.a - - $(libname): $(libaio_sobjs) libaio.map - $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) diff --git a/dev-libs/libaio/files/libaio-0.3.107-generic-arch.patch b/dev-libs/libaio/files/libaio-0.3.107-generic-arch.patch deleted file mode 100644 index 6ecd7f10d5ba..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.107-generic-arch.patch +++ /dev/null @@ -1,101 +0,0 @@ -for arches that lack magic assembly (arm, blackfin, etc...), implement support -using standard syscall() function - ---- src/libaio.h -+++ src/libaio.h -@@ -49,38 +49,34 @@ typedef enum io_iocb_cmd { - IO_CMD_PWRITEV = 8, - } io_iocb_cmd_t; - --#if defined(__i386__) /* little endian, 32 bits */ -+/* little endian, 32 bits */ -+#if defined(__i386__) || defined(__sh__) || defined(__bfin__) || \ -+ defined(__ARMEL__) || defined(__MIPSEL__) || defined(__cris__) - #define PADDED(x, y) x; unsigned y - #define PADDEDptr(x, y) x; unsigned y - #define PADDEDul(x, y) unsigned long x; unsigned y -+ -+/* little endian, 64 bits */ - #elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) - #define PADDED(x, y) x, y - #define PADDEDptr(x, y) x - #define PADDEDul(x, y) unsigned long x --#elif defined(__powerpc64__) /* big endian, 64 bits */ -+ -+/* big endian, 64 bits */ -+#elif defined(__powerpc64__) || defined(__s390x__) || \ -+ (defined(__sparc__) && defined(__arch64__)) - #define PADDED(x, y) unsigned y; x - #define PADDEDptr(x,y) x - #define PADDEDul(x, y) unsigned long x --#elif defined(__PPC__) /* big endian, 32 bits */ -+ -+/* big endian, 32 bits */ -+#elif defined(__PPC__) || defined(__s390__) || defined(__ARMEB__) || \ -+ defined(__MIPSEB__) || defined(__sparc__) || defined(__m68k__) || \ -+ defined(__hppa__) || defined(__frv__) || defined(__avr32__) - #define PADDED(x, y) unsigned y; x - #define PADDEDptr(x, y) unsigned y; x - #define PADDEDul(x, y) unsigned y; unsigned long x --#elif defined(__s390x__) /* big endian, 64 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x,y) x --#define PADDEDul(x, y) unsigned long x --#elif defined(__s390__) /* big endian, 32 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x, y) unsigned y; x --#define PADDEDul(x, y) unsigned y; unsigned long x --#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x,y) x --#define PADDEDul(x, y) unsigned long x --#elif defined(__sparc__) /* big endian, 32 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x, y) unsigned y; x --#define PADDEDul(x, y) unsigned y; unsigned long x -+ - #else - #error endian? - #endif ---- /dev/null -+++ src/syscall-generic.h -@@ -0,0 +1,29 @@ -+#include <errno.h> -+#include <unistd.h> -+#include <sys/syscall.h> -+ -+#define _body_io_syscall(sname, args...) \ -+{ \ -+ int ret = syscall(__NR_##sname, ## args); \ -+ return ret < 0 ? -errno : ret; \ -+} -+ -+#define io_syscall1(type,fname,sname,type1,arg1) \ -+type fname(type1 arg1) \ -+_body_io_syscall(sname, (long)arg1) -+ -+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ -+type fname(type1 arg1,type2 arg2) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2) -+ -+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ -+type fname(type1 arg1,type2 arg2,type3 arg3) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3) -+ -+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ -+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4) -+ -+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, type5,arg5) \ -+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4, (long)arg5) ---- src/syscall.h -+++ src/syscall.h -@@ -25,5 +25,6 @@ - #elif defined(__sparc__) - #include "syscall-sparc.h" - #else --#error "add syscall-arch.h" -+#warning "using generic syscall method" -+#include "syscall-generic.h" - #endif diff --git a/dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch b/dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch deleted file mode 100644 index c47273631f05..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch +++ /dev/null @@ -1,31 +0,0 @@ -based on fedora ptach - ---- libaio-0.3.107/src/Makefile -+++ libaio-0.3.107/src/Makefile -@@ -1,6 +1,7 @@ - prefix=/usr --includedir=$(prefix)/include --libdir=$(prefix)/lib -+includedir=/usr/include -+libdir=/usr/lib -+usrlibdir=$(libdir) - - ARCH := $(shell uname -m | sed -e s/i.86/i386/) - CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC -@@ -51,11 +52,11 @@ - $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) - - install: $(all_targets) -- install -D -m 644 libaio.h $(includedir)/libaio.h -- install -D -m 644 libaio.a $(libdir)/libaio.a -- install -D -m 755 $(libname) $(libdir)/$(libname) -- ln -sf $(libname) $(libdir)/$(soname) -- ln -sf $(libname) $(libdir)/libaio.so -+ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h -+ install -D -m 644 libaio.a $(DESTDIR)$(usrlibdir)/libaio.a -+ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname) -+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/$(soname) -+ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/libaio.so - - $(libaio_objs): libaio.h - diff --git a/dev-libs/libaio/files/libaio-0.3.107-sparc.patch b/dev-libs/libaio/files/libaio-0.3.107-sparc.patch deleted file mode 100644 index 92bcd5325e86..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.107-sparc.patch +++ /dev/null @@ -1,151 +0,0 @@ -ripped from fedora - ---- libaio-0.3.107/src/libaio.h -+++ libaio-0.3.107/src/libaio.h -@@ -73,6 +73,14 @@ - #define PADDED(x, y) unsigned y; x - #define PADDEDptr(x, y) unsigned y; x - #define PADDEDul(x, y) unsigned y; unsigned long x -+#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */ -+#define PADDED(x, y) unsigned y; x -+#define PADDEDptr(x,y) x -+#define PADDEDul(x, y) unsigned long x -+#elif defined(__sparc__) /* big endian, 32 bits */ -+#define PADDED(x, y) unsigned y; x -+#define PADDEDptr(x, y) unsigned y; x -+#define PADDEDul(x, y) unsigned y; unsigned long x - #else - #error endian? - #endif ---- libaio-0.3.107/src/syscall.h -+++ libaio-0.3.107/src/syscall.h -@@ -22,6 +22,8 @@ - #include "syscall-s390.h" - #elif defined(__alpha__) - #include "syscall-alpha.h" -+#elif defined(__sparc__) -+#include "syscall-sparc.h" - #else - #error "add syscall-arch.h" - #endif ---- libaio-0.3.107/src/syscall-sparc.h -+++ libaio-0.3.107/src/syscall-sparc.h -@@ -0,0 +1,118 @@ -+#include <errno.h> -+ -+#define __NR_io_setup 268 -+#define __NR_io_destroy 269 -+#define __NR_io_submit 270 -+#define __NR_io_cancel 271 -+#define __NR_io_getevents 272 -+ -+#define io_syscall1(type,fname,sname,type1,arg1) \ -+type fname(type1 arg1) \ -+{ \ -+long __res; \ -+register long __g1 __asm__ ("g1") = __NR_##sname; \ -+register long __o0 __asm__ ("o0") = (long)(arg1); \ -+__asm__ __volatile__ ("t 0x10\n\t" \ -+ "bcc 1f\n\t" \ -+ "mov %%o0, %0\n\t" \ -+ "sub %%g0, %%o0, %0\n\t" \ -+ "1:\n\t" \ -+ : "=r" (__res), "=&r" (__o0) \ -+ : "1" (__o0), "r" (__g1) \ -+ : "cc"); \ -+if (__res < -255 || __res >= 0) \ -+ return (type) __res; \ -+errno = -__res; \ -+return -1; \ -+} -+ -+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ -+type fname(type1 arg1,type2 arg2) \ -+{ \ -+long __res; \ -+register long __g1 __asm__ ("g1") = __NR_##sname; \ -+register long __o0 __asm__ ("o0") = (long)(arg1); \ -+register long __o1 __asm__ ("o1") = (long)(arg2); \ -+__asm__ __volatile__ ("t 0x10\n\t" \ -+ "bcc 1f\n\t" \ -+ "mov %%o0, %0\n\t" \ -+ "sub %%g0, %%o0, %0\n\t" \ -+ "1:\n\t" \ -+ : "=r" (__res), "=&r" (__o0) \ -+ : "1" (__o0), "r" (__o1), "r" (__g1) \ -+ : "cc"); \ -+if (__res < -255 || __res >= 0) \ -+ return (type) __res; \ -+errno = -__res; \ -+return -1; \ -+} -+ -+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ -+type fname(type1 arg1,type2 arg2,type3 arg3) \ -+{ \ -+long __res; \ -+register long __g1 __asm__ ("g1") = __NR_##sname; \ -+register long __o0 __asm__ ("o0") = (long)(arg1); \ -+register long __o1 __asm__ ("o1") = (long)(arg2); \ -+register long __o2 __asm__ ("o2") = (long)(arg3); \ -+__asm__ __volatile__ ("t 0x10\n\t" \ -+ "bcc 1f\n\t" \ -+ "mov %%o0, %0\n\t" \ -+ "sub %%g0, %%o0, %0\n\t" \ -+ "1:\n\t" \ -+ : "=r" (__res), "=&r" (__o0) \ -+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \ -+ : "cc"); \ -+if (__res < -255 || __res>=0) \ -+ return (type) __res; \ -+errno = -__res; \ -+return -1; \ -+} -+ -+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ -+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ -+{ \ -+long __res; \ -+register long __g1 __asm__ ("g1") = __NR_##sname; \ -+register long __o0 __asm__ ("o0") = (long)(arg1); \ -+register long __o1 __asm__ ("o1") = (long)(arg2); \ -+register long __o2 __asm__ ("o2") = (long)(arg3); \ -+register long __o3 __asm__ ("o3") = (long)(arg4); \ -+__asm__ __volatile__ ("t 0x10\n\t" \ -+ "bcc 1f\n\t" \ -+ "mov %%o0, %0\n\t" \ -+ "sub %%g0, %%o0, %0\n\t" \ -+ "1:\n\t" \ -+ : "=r" (__res), "=&r" (__o0) \ -+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \ -+ : "cc"); \ -+if (__res < -255 || __res>=0) \ -+ return (type) __res; \ -+errno = -__res; \ -+return -1; \ -+} -+ -+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ -+ type5,arg5) \ -+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -+{ \ -+long __res; \ -+register long __g1 __asm__ ("g1") = __NR_##sname; \ -+register long __o0 __asm__ ("o0") = (long)(arg1); \ -+register long __o1 __asm__ ("o1") = (long)(arg2); \ -+register long __o2 __asm__ ("o2") = (long)(arg3); \ -+register long __o3 __asm__ ("o3") = (long)(arg4); \ -+register long __o4 __asm__ ("o4") = (long)(arg5); \ -+__asm__ __volatile__ ("t 0x10\n\t" \ -+ "bcc 1f\n\t" \ -+ "mov %%o0, %0\n\t" \ -+ "sub %%g0, %%o0, %0\n\t" \ -+ "1:\n\t" \ -+ : "=r" (__res), "=&r" (__o0) \ -+ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \ -+ : "cc"); \ -+if (__res < -255 || __res>=0) \ -+ return (type) __res; \ -+errno = -__res; \ -+return -1; \ -+} diff --git a/dev-libs/libaio/files/libaio-0.3.109-generic-arch.patch b/dev-libs/libaio/files/libaio-0.3.109-generic-arch.patch deleted file mode 100644 index fea3aeeee420..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.109-generic-arch.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 5e96c73d5dfbdea8d0be82b7f3fc8d6735e5dfa7 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Sun, 17 Jan 2010 17:07:48 -0500 -Subject: [PATCH] add a generic syscall() fallback - -Signed-off-by: Mike Frysinger <vapier@gentoo.org> ---- - src/syscall-generic.h | 29 +++++++++++++++++++++++++++++ - src/syscall.h | 3 ++- - 2 files changed, 31 insertions(+), 1 deletions(-) - create mode 100644 src/syscall-generic.h - -diff --git a/src/syscall-generic.h b/src/syscall-generic.h -new file mode 100644 -index 0000000..24d7c7c ---- /dev/null -+++ b/src/syscall-generic.h -@@ -0,0 +1,29 @@ -+#include <errno.h> -+#include <unistd.h> -+#include <sys/syscall.h> -+ -+#define _body_io_syscall(sname, args...) \ -+{ \ -+ int ret = syscall(__NR_##sname, ## args); \ -+ return ret < 0 ? -errno : ret; \ -+} -+ -+#define io_syscall1(type,fname,sname,type1,arg1) \ -+type fname(type1 arg1) \ -+_body_io_syscall(sname, (long)arg1) -+ -+#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ -+type fname(type1 arg1,type2 arg2) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2) -+ -+#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ -+type fname(type1 arg1,type2 arg2,type3 arg3) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3) -+ -+#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ -+type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4) -+ -+#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, type5,arg5) \ -+type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -+_body_io_syscall(sname, (long)arg1, (long)arg2, (long)arg3, (long)arg4, (long)arg5) -diff --git a/src/syscall.h b/src/syscall.h -index 78becfe..d954af0 100644 ---- a/src/syscall.h -+++ b/src/syscall.h -@@ -25,5 +25,6 @@ - #elif defined(__arm__) - #include "syscall-arm.h" - #else --#error "add syscall-arch.h" -+#warning "using generic syscall method" -+#include "syscall-generic.h" - #endif --- -1.7.3.1 - diff --git a/dev-libs/libaio/files/libaio-0.3.109-unify-bits-endian.patch b/dev-libs/libaio/files/libaio-0.3.109-unify-bits-endian.patch deleted file mode 100644 index 1a4e6ef12303..000000000000 --- a/dev-libs/libaio/files/libaio-0.3.109-unify-bits-endian.patch +++ /dev/null @@ -1,73 +0,0 @@ -From be673c7afd7a86b89fbe2e09c758f2de3482d19b Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Sun, 17 Jan 2010 17:07:24 -0500 -Subject: [PATCH] unify LE/BE 32/64bit logic and add more arches - -Signed-off-by: Mike Frysinger <vapier@gentoo.org> ---- - src/libaio.h | 36 +++++++++++++++--------------------- - 1 files changed, 15 insertions(+), 21 deletions(-) - -diff --git a/src/libaio.h b/src/libaio.h -index ffe8259..4a6c9fb 100644 ---- a/src/libaio.h -+++ b/src/libaio.h -@@ -49,40 +49,34 @@ typedef enum io_iocb_cmd { - IO_CMD_PWRITEV = 8, - } io_iocb_cmd_t; - --#if defined(__i386__) /* little endian, 32 bits */ -+/* little endian, 32 bits */ -+#if defined(__i386__) || defined(__sh__) || defined(__bfin__) || \ -+ defined(__ARMEL__) || defined(__MIPSEL__) || defined(__cris__) - #define PADDED(x, y) x; unsigned y - #define PADDEDptr(x, y) x; unsigned y - #define PADDEDul(x, y) unsigned long x; unsigned y -+ -+/* little endian, 64 bits */ - #elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) - #define PADDED(x, y) x, y - #define PADDEDptr(x, y) x - #define PADDEDul(x, y) unsigned long x --#elif defined(__powerpc64__) /* big endian, 64 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x,y) x --#define PADDEDul(x, y) unsigned long x --#elif defined(__PPC__) /* big endian, 32 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x, y) unsigned y; x --#define PADDEDul(x, y) unsigned y; unsigned long x --#elif defined(__s390x__) /* big endian, 64 bits */ -+ -+/* big endian, 64 bits */ -+#elif defined(__powerpc64__) || defined(__s390x__) || \ -+ (defined(__sparc__) && defined(__arch64__)) - #define PADDED(x, y) unsigned y; x - #define PADDEDptr(x,y) x - #define PADDEDul(x, y) unsigned long x --#elif defined(__s390__) /* big endian, 32 bits */ --#define PADDED(x, y) unsigned y; x --#define PADDEDptr(x, y) unsigned y; x --#define PADDEDul(x, y) unsigned y; unsigned long x --#elif defined(__arm__) --# if defined (__ARMEB__) /* big endian, 32 bits */ -+ -+/* big endian, 32 bits */ -+#elif defined(__PPC__) || defined(__s390__) || defined(__ARMEB__) || \ -+ defined(__MIPSEB__) || defined(__sparc__) || defined(__m68k__) || \ -+ defined(__hppa__) || defined(__frv__) || defined(__avr32__) - #define PADDED(x, y) unsigned y; x - #define PADDEDptr(x, y) unsigned y; x - #define PADDEDul(x, y) unsigned y; unsigned long x --# else /* little endian, 32 bits */ --#define PADDED(x, y) x; unsigned y --#define PADDEDptr(x, y) x; unsigned y --#define PADDEDul(x, y) unsigned long x; unsigned y --# endif -+ - #else - #error endian? - #endif --- -1.7.3.1 - |