diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-04 23:00:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-04 23:00:00 +0000 |
commit | f958fb37de5ff0730d4398e5e00d5ce4ead7edde (patch) | |
tree | 835f1c9eb55277f7f9dc115ccb147f5b95e7f1c9 /dev-libs/libaio/files | |
parent | ~amd64 (diff) | |
download | gentoo-2-f958fb37de5ff0730d4398e5e00d5ce4ead7edde.tar.gz gentoo-2-f958fb37de5ff0730d4398e5e00d5ce4ead7edde.tar.bz2 gentoo-2-f958fb37de5ff0730d4398e5e00d5ce4ead7edde.zip |
Clean up ebuild, respect user CFLAGS, and fix executable stack markings.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/libaio/files')
-rw-r--r-- | dev-libs/libaio/files/digest-libaio-0.3.15-r1 | 1 | ||||
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.15-CFLAGS.patch | 14 | ||||
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.15-no-exec-stack.patch | 13 |
3 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/libaio/files/digest-libaio-0.3.15-r1 b/dev-libs/libaio/files/digest-libaio-0.3.15-r1 new file mode 100644 index 000000000000..ecd66ade074c --- /dev/null +++ b/dev-libs/libaio/files/digest-libaio-0.3.15-r1 @@ -0,0 +1 @@ +MD5 51a913e1a662590eb86bc561a02e0aa2 libaio-0.3.15-2.5-2.tar.bz2 21026 diff --git a/dev-libs/libaio/files/libaio-0.3.15-CFLAGS.patch b/dev-libs/libaio/files/libaio-0.3.15-CFLAGS.patch new file mode 100644 index 000000000000..0b4483c06cfc --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.15-CFLAGS.patch @@ -0,0 +1,14 @@ +Respect env CFLAGS and build shared objects as PIC + +--- libaio/src/Makefile ++++ libaio/src/Makefile +@@ -1,7 +1,7 @@ + prefix=/usr + +-CFLAGS=-nostdlib -nostartfiles -Wall -I. -g -O2 +-SO_CFLAGS=-shared $(CFLAGS) ++CFLAGS+=-nostdlib -nostartfiles -Wall -I. ++SO_CFLAGS=-shared $(CFLAGS) -fPIC + L_CFLAGS=$(CFLAGS) + LINK_FLAGS=-L. + diff --git a/dev-libs/libaio/files/libaio-0.3.15-no-exec-stack.patch b/dev-libs/libaio/files/libaio-0.3.15-no-exec-stack.patch new file mode 100644 index 000000000000..e26c499a6c70 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.15-no-exec-stack.patch @@ -0,0 +1,13 @@ +Make sure that the asm files don't incorrectly trigger an executable +stack marking in the final shared library. That's bad, mmmkay. + +--- src/ia64_syscall.S ++++ src/ia64_syscall.S +@@ -15,3 +15,7 @@ + br.ret.sptk.many rp + .endp __ia64_syscall + #endif ++ ++#ifdef __ELF__ ++.section .note.GNU-stack,"",@progbits ++#endif |