diff --git a/01_link_libgcc.patch b/01_link_libgcc.patch index 976c339..d5f41c8 100644 --- a/01_link_libgcc.patch +++ b/01_link_libgcc.patch @@ -2,12 +2,12 @@ src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: libaio-0.3.107/src/Makefile +Index: libaio-0.3.109/src/Makefile =================================================================== ---- libaio-0.3.107.orig/src/Makefile -+++ libaio-0.3.107/src/Makefile +--- libaio-0.3.109.orig/src/Makefile ++++ libaio-0.3.109/src/Makefile @@ -6,7 +6,7 @@ ARCH := $(shell uname -m | sed -e s/i.86 - CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS) + CFLAGS := -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS) SO_CFLAGS=-shared $(CFLAGS) L_CFLAGS=$(CFLAGS) -LINK_FLAGS= diff --git a/02_libdevdir.patch b/02_libdevdir.patch index 88556a9..ba64594 100644 --- a/02_libdevdir.patch +++ b/02_libdevdir.patch @@ -45,7 +45,7 @@ Index: libaio-0.3.109/src/Makefile +libdevdir=$(prefix)/lib ARCH := $(shell uname -m | sed -e s/i.86/i386/) - CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS) + CFLAGS := -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS) @@ -51,11 +53,11 @@ $(libname): $(libaio_sobjs) libaio.map $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) diff --git a/libaio-optflags.diff b/libaio-optflags.diff index f4a0914..8f9360f 100644 --- a/libaio-optflags.diff +++ b/libaio-optflags.diff @@ -1,11 +1,13 @@ ---- libaio-0.3.104/src/Makefile 2007/08/02 10:44:05 1.1 -+++ libaio-0.3.104/src/Makefile 2007/08/02 10:44:31 -@@ -3,7 +3,7 @@ +Index: libaio-0.3.109/src/Makefile +=================================================================== +--- libaio-0.3.109.orig/src/Makefile ++++ libaio-0.3.109/src/Makefile +@@ -3,7 +3,7 @@ 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 -+CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS) ++CFLAGS := -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC $(OPTFLAGS) SO_CFLAGS=-shared $(CFLAGS) L_CFLAGS=$(CFLAGS) LINK_FLAGS= diff --git a/libaio.changes b/libaio.changes index 4441b15..3e4d22b 100644 --- a/libaio.changes +++ b/libaio.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Apr 17 16:49:35 UTC 2016 - meissner@suse.com + +- libaio-optflags.diff: readd -stdlib to allow -fstack-protector-strong + builds (unclear why it was not allowed) +- 01_link_libgcc.patch, 02_libdevdir.patch: refreshed + ------------------------------------------------------------------- Tue Aug 26 11:33:27 UTC 2014 - fcrozat@suse.com diff --git a/libaio.spec b/libaio.spec index fb2547d..ff9fe1c 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,7 +1,7 @@ # # spec file for package libaio # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed