diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
commit | ccf84bcd604130256d1377cd58f0a634ae6ee20f (patch) | |
tree | f42a709e0c7805183f5680883bc76dc935b7a0cc /sys-apps/iotools/files | |
parent | c85a90f90521c7e11d618b527d6630cc64cecbd4 (diff) |
gentoo resync : 28.12.2017
Diffstat (limited to 'sys-apps/iotools/files')
-rw-r--r-- | sys-apps/iotools/files/iotools-1.4-cpuid-pic.patch | 22 | ||||
-rw-r--r-- | sys-apps/iotools/files/iotools-1.4-ldflags.patch | 13 |
2 files changed, 0 insertions, 35 deletions
diff --git a/sys-apps/iotools/files/iotools-1.4-cpuid-pic.patch b/sys-apps/iotools/files/iotools-1.4-cpuid-pic.patch deleted file mode 100644 index 3fde16c6ca01..000000000000 --- a/sys-apps/iotools/files/iotools-1.4-cpuid-pic.patch +++ /dev/null @@ -1,22 +0,0 @@ -http://code.google.com/p/iotools/issues/detail?id=2 - ---- a/misc.c -+++ b/misc.c -@@ -149,8 +149,16 @@ cpuid_inline(int cpu, int function, int index, uint32_t *data) - } - - asm volatile ( -+#ifdef __i386__ -+ "xchg %%ebx, %%esi;" /* save ebx (for PIC) */ -+ "cpuid;" -+ "xchg %%esi, %%ebx;" /* restore ebx & pass to caller */ -+ : "=S" (data[1]), -+#else - "cpuid\n\t" -- : "=a" (data[0]), "=b" (data[1]), "=c" (data[2]), "=d" (data[3]) -+ : "=b" (data[1]), -+#endif -+ "=a" (data[0]), "=c" (data[2]), "=d" (data[3]) - : "0" (function), "2" (index) - : "memory" - ); diff --git a/sys-apps/iotools/files/iotools-1.4-ldflags.patch b/sys-apps/iotools/files/iotools-1.4-ldflags.patch deleted file mode 100644 index 242f6912b69a..000000000000 --- a/sys-apps/iotools/files/iotools-1.4-ldflags.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://code.google.com/p/iotools/issues/detail?id=3 - ---- a/Makefile -+++ b/Makefile -@@ -44,7 +44,7 @@ OBJS=$(OBJS_TO_BUILD) - all: $(BINARY) - - $(BINARY): $(OBJS) iotools.o Makefile -- $(CC) $(CFLAGS) -o $@ iotools.o $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ iotools.o $(OBJS) - - RUSER ?= root - RHOST ?= |