diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2006-07-10 06:51:25 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2006-07-10 06:51:25 +0000 |
commit | 8064357f6f0d7a50deae8ab02d9935c8ab68180f (patch) | |
tree | a39de42c313267125f4e31b9f3f5c92dc04625ef /dev-libs/libaio/files | |
parent | Version bump; removed obsolete versions (diff) | |
download | historical-8064357f6f0d7a50deae8ab02d9935c8ab68180f.tar.gz historical-8064357f6f0d7a50deae8ab02d9935c8ab68180f.tar.bz2 historical-8064357f6f0d7a50deae8ab02d9935c8ab68180f.zip |
fixed build patch, soname, and QA issues, works now on amd64
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'dev-libs/libaio/files')
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.106-build.patch | 26 |
1 files changed, 26 insertions, 0 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 new file mode 100644 index 000000000000..4a8434bb7e70 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.106-build.patch @@ -0,0 +1,26 @@ +--- 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 +@@ -48,7 +47,7 @@ + ranlib libaio.a + + $(libname): $(libaio_sobjs) libaio.map +- $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) ++ $(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 |