From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- .../files/authbind-2.1.1-respect-flags.patch | 24 -------------------- .../files/authbind-2.1.2-respect-flags.patch | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 app-admin/authbind/files/authbind-2.1.1-respect-flags.patch create mode 100644 app-admin/authbind/files/authbind-2.1.2-respect-flags.patch (limited to 'app-admin/authbind/files') diff --git a/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch b/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch deleted file mode 100644 index 7e7a83e283e4..000000000000 --- a/app-admin/authbind/files/authbind-2.1.1-respect-flags.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -34,10 +34,9 @@ INSTALL_PROGRAM ?= install -o root -g root -m 755 -s - INSTALL_DIR ?= install -o root -g root -m 755 -d - STRIP ?= strip - --OPTIMISE= -O2 --LDFLAGS= -g - LIBS= -ldl -lc --CFLAGS= -g $(OPTIMISE) \ -+SHARED_LDFLAGS= -+CFLAGS+= \ - -Wall -Wwrite-strings -Wpointer-arith -Wimplicit \ - -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes - CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \ -@@ -82,7 +81,7 @@ helper: helper.o - helper.o authbind.o: authbind.h - - $(LIBTARGET): libauthbind.o -- ld -shared -soname $(LIBCANON) -o $@ $< $(LIBS) -+ $(LD) $(SHARED_LDFLAGS) -shared -soname $(LIBCANON) -o $@ $< $(LIBS) - - clean distclean: - rm -f $(TARGETS) *.o *~ ./#*# *.bak *.new core diff --git a/app-admin/authbind/files/authbind-2.1.2-respect-flags.patch b/app-admin/authbind/files/authbind-2.1.2-respect-flags.patch new file mode 100644 index 000000000000..877c50bd1e9f --- /dev/null +++ b/app-admin/authbind/files/authbind-2.1.2-respect-flags.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile b/Makefile +index 37a8673..89f83f4 100644 +--- a/Makefile ++++ b/Makefile +@@ -34,10 +34,9 @@ INSTALL_PROGRAM ?= install -o root -g root -m 755 -s + INSTALL_DIR ?= install -o root -g root -m 755 -d + STRIP ?= strip + +-OPTIMISE= -O2 +-LDFLAGS= -g + LIBS= -ldl -lc +-CFLAGS= -g $(OPTIMISE) \ ++SHARED_LDFLAGS= ++CFLAGSS+= \ + -Wall -Wwrite-strings -Wpointer-arith -Wimplicit \ + -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes + CPPFLAGS= -DMAJOR_VER='"$(MAJOR)"' -DMINOR_VER='"$(MINOR)"' \ +@@ -82,7 +81,7 @@ helper: helper.o + helper.o authbind.o: authbind.h + + $(LIBTARGET): libauthbind.o +- $(LD) -shared -soname $(LIBCANON) -o $@ $< $(LIBS) ++ $(LD) $(SHARED_LDFLAGS) -shared -soname $(LIBCANON) -o $@ $< $(LIBS) + + clean distclean: + rm -f $(TARGETS) *.o *~ ./#*# *.bak *.new core -- cgit v1.2.3