* [gentoo-commits] repo/gentoo:master commit in: app-forensics/magicrescue/files/
@ 2019-12-29 18:34 Aaron Bauman
0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2019-12-29 18:34 UTC (permalink / raw
To: gentoo-commits
commit: bfce61b9891623f07270301ac41fd04b9216d034
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Dec 29 08:57:01 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 18:33:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfce61b9
app-forensics/magicrescue: remove unused patches
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14160
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
.../files/magicrescue-1.1.9-ldflags.patch | 50 ---------------------
.../files/magicrescue-1.1.9-makefile.patch | 52 ----------------------
2 files changed, 102 deletions(-)
diff --git a/app-forensics/magicrescue/files/magicrescue-1.1.9-ldflags.patch b/app-forensics/magicrescue/files/magicrescue-1.1.9-ldflags.patch
deleted file mode 100644
index 96818c3d58e..00000000000
--- a/app-forensics/magicrescue/files/magicrescue-1.1.9-ldflags.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -Naurd magicrescue-1.1.9/Makefile.in magicrescue-1.1.9.new//Makefile.in
---- magicrescue-1.1.9/Makefile.in 2008-06-27 00:24:06.000000000 +0400
-+++ magicrescue-1.1.9.new//Makefile.in 2012-05-13 07:57:59.000000000 +0400
-@@ -21,7 +21,7 @@
- $(CC) -o $@ $(LDFLAGS) $(MAGICRESCUE_OBJS)
-
- dupemap: $(DUPEMAP_OBJS)
-- $(CC) -o $@ $(LDFLAGS) $(DBM_LDFLAGS) $(DUPEMAP_OBJS)
-+ $(CC) -o $@ $(LDFLAGS) $(DUPEMAP_OBJS) $(DBM_LDFLAGS)
-
- tools/inputseek: $(INPUTSEEK_OBJS)
- $(CC) -o $@ $(LDFLAGS) $(INPUTSEEK_OBJS)
-diff -Naurd magicrescue-1.1.9/config.d/50dbm magicrescue-1.1.9.new//config.d/50dbm
---- magicrescue-1.1.9/config.d/50dbm 2008-06-27 00:24:05.000000000 +0400
-+++ magicrescue-1.1.9.new//config.d/50dbm 2012-05-13 07:56:16.000000000 +0400
-@@ -14,18 +14,14 @@
- flag="`echo $flag|sed 's/./-l&/'`"
- echo "trying to link with flags [$flag]" >&5
-
-- bak_LDFLAGS="$LDFLAGS"
-- LDFLAGS="$LDFLAGS $flag"
-+ LIBS="$flag"
- if conftest_link; then
- # we found it!
-- LDFLAGS="$bak_LDFLAGS"
- DBM_LDFLAGS="$flag"
- env_vars="$env_vars DBM_LDFLAGS"
- echo "#define $dbmdef" >> config.h
- echo "#define HAVE_NDBM" >> config.h
- return 0
-- else
-- LDFLAGS="$bak_LDFLAGS"
- fi
- done
-
-diff -Naurd magicrescue-1.1.9/configure magicrescue-1.1.9.new//configure
---- magicrescue-1.1.9/configure 2008-06-27 00:24:06.000000000 +0400
-+++ magicrescue-1.1.9.new//configure 2012-05-13 07:56:16.000000000 +0400
-@@ -63,9 +63,9 @@
- }
-
- conftest_link() {
-- echo "$CC -o conftest $LDFLAGS conftest.o" >&5
-+ echo "$CC -o conftest $LDFLAGS conftest.o $LIBS" >&5
- echo >&5
-- $CC -o conftest $LDFLAGS conftest.o >&5 2>&5 \
-+ $CC -o conftest $LDFLAGS conftest.o $LIBS >&5 2>&5 \
- && [ -x conftest ] && ./conftest 2>&5
- }
-
diff --git a/app-forensics/magicrescue/files/magicrescue-1.1.9-makefile.patch b/app-forensics/magicrescue/files/magicrescue-1.1.9-makefile.patch
deleted file mode 100644
index 3f57b1303c6..00000000000
--- a/app-forensics/magicrescue/files/magicrescue-1.1.9-makefile.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- magicrescue-1.1.9/Makefile.in.orig
-+++ magicrescue-1.1.9/Makefile.in
-@@ -57,34 +57,31 @@
- maintainer-clean: distclean docs-clean
-
- install: all
-- [ -d $(PREFIX) ]
-+ mkdir -p $(DESTDIR)$(PREFIX)/share/magicrescue/tools \
-+ $(DESTDIR)$(PREFIX)/share/magicrescue/recipes \
-+ $(DESTDIR)$(PREFIX)/share/man/man1 \
-+ $(DESTDIR)$(PREFIX)/bin
-
-- mkdir -p $(PREFIX)/share/magicrescue/tools \
-- $(PREFIX)/share/magicrescue/recipes \
-- $(PREFIX)/man/man1 \
-- $(PREFIX)/bin
--
-- cp magicrescue$(EXE) dupemap$(EXE) magicsort $(PREFIX)/bin/
-- cp recipes/* $(PREFIX)/share/magicrescue/recipes/
-- cp $(DOCS) $(PREFIX)/man/man1
-+ cp magicrescue$(EXE) dupemap$(EXE) magicsort $(DESTDIR)$(PREFIX)/bin
-+ cp recipes/* $(DESTDIR)$(PREFIX)/share/magicrescue/recipes/
-+ cp $(DOCS) $(DESTDIR)$(PREFIX)/share/man/man1
-
- for f in tools/*; do \
- if [ -x "$$f" ]; then \
-- cp -f "$$f" $(PREFIX)/share/magicrescue/tools/; \
-+ cp -f "$$f" $(DESTDIR)$(PREFIX)/share/magicrescue/tools/; \
- fi; \
- done
-
- uninstall:
-- [ -d $(PREFIX) ]
-- rm -f $(PREFIX)/bin/magicrescue$(EXE)
-- rm -f $(PREFIX)/bin/dupemap$(EXE)
-- rm -f $(PREFIX)/bin/magicsort
-+ rm -f $(DESTDIR)$(PREFIX)/bin/magicrescue$(EXE)
-+ rm -f $(DESTDIR)$(PREFIX)/bin/dupemap$(EXE)
-+ rm -f $(DESTDIR)$(PREFIX)/bin/magicsort
- for f in $(DOCS); do \
-- rm -f "$(PREFIX)/man/man1/`basename $$f`"; \
-+ rm -f "$(DESTDIR)$(PREFIX)/share/man/man1/`basename $$f`"; \
- done
-- rm -rf $(PREFIX)/share/magicrescue/tools
-- rm -rf $(PREFIX)/share/magicrescue/recipes
-- -rmdir $(PREFIX)/share/magicrescue
-+ rm -rf $(DESTDIR)$(PREFIX)/share/magicrescue/tools
-+ rm -rf $(DESTDIR)$(PREFIX)/share/magicrescue/recipes
-+ -rmdir $(DESTDIR)$(PREFIX)/share/magicrescue
-
- .PHONY: all clean distclean docs-clean maintainer-clean install uninstall docs
-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-29 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-29 18:34 [gentoo-commits] repo/gentoo:master commit in: app-forensics/magicrescue/files/ Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox