From c68cde5ba6cc3d7277f74492800484f396c7bee5 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Tue, 10 Jul 2007 10:30:30 +0000 Subject: [PATCH] new patch to get a usable debuginfo rpm --- hdparm-5.9-nostrip.patch | 11 ----------- hdparm-7.6-nostrip.patch | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 hdparm-5.9-nostrip.patch create mode 100644 hdparm-7.6-nostrip.patch diff --git a/hdparm-5.9-nostrip.patch b/hdparm-5.9-nostrip.patch deleted file mode 100644 index 21580a3..0000000 --- a/hdparm-5.9-nostrip.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- hdparm-5.9/Makefile.rh1 2005-05-10 10:35:32.000000000 +0200 -+++ hdparm-5.9/Makefile 2005-05-10 10:35:35.000000000 +0200 -@@ -16,7 +16,7 @@ - CFLAGS := -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS) - - --LDFLAGS = -s -+LDFLAGS = - INSTALL = install - INSTALL_DATA = $(INSTALL) -m 644 - INSTALL_PROGRAM = $(INSTALL) diff --git a/hdparm-7.6-nostrip.patch b/hdparm-7.6-nostrip.patch new file mode 100644 index 0000000..77611f6 --- /dev/null +++ b/hdparm-7.6-nostrip.patch @@ -0,0 +1,20 @@ +--- hdparm-7.6/Makefile.nostrip 2007-07-10 12:28:33.000000000 +0200 ++++ hdparm-7.6/Makefile 2007-07-10 12:28:53.000000000 +0200 +@@ -16,7 +16,7 @@ endif + + CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS) + +-LDFLAGS = -s ++LDFLAGS = + INSTALL = install + INSTALL_DATA = $(INSTALL) -m 644 + INSTALL_DIR = $(INSTALL) -m 755 -d +@@ -28,7 +28,7 @@ all: hdparm + + hdparm: hdparm.h $(OBJS) + $(CC) $(LDFLAGS) -o hdparm $(OBJS) +- strip hdparm ++# strip hdparm + + install: all hdparm.8 + if [ ! -z $(DESTDIR) ]; then $(INSTALL_DIR) $(DESTDIR) ; fi