diff options
Diffstat (limited to 'app-misc/speed/files/0.2-fixup.patch')
-rw-r--r-- | app-misc/speed/files/0.2-fixup.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/app-misc/speed/files/0.2-fixup.patch b/app-misc/speed/files/0.2-fixup.patch deleted file mode 100644 index e05aba2..0000000 --- a/app-misc/speed/files/0.2-fixup.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff -u Makefile Makefile ---- Makefile 2006-09-24 02:42:26.000000000 +0100 -+++ Makefile 2006-10-22 19:03:08.000000000 +0100 -@@ -1,5 +1,8 @@ --CFLAGS=-g -O2 -Wall -DVERSION=0.2 --CC=gcc -+CFLAGS = -g -O2 -+override CFLAGS += -DVERSION=0.2 -+CC = gcc -+PREFIX = $(DESTDIR)/usr -+BINDIR = $(PREFIX)/bin - - all: speed - -@@ -7,10 +10,11 @@ - $(CC) $(CFLAGS) -o speed speed.c - - install: -- install ./speed /usr/local/bin -+ mkdir -p $(BINDIR) -+ install -m 0755 ./speed $(BINDIR) - - uninstall: -- rm -f /usr/local/bin/speed -+ rm -f $(BINDIR)/speed - - clean: - rm -f speed -diff -u README README ---- README 2006-09-24 02:42:26.000000000 +0100 -+++ README 2006-10-22 18:57:17.000000000 +0100 -@@ -76,6 +76,6 @@ - `------------------------' - - Speed comes with no warranty! -- I'm not responsible if it blows up your hard drive, data loss, kills yoru dog, -- steals your money, cuases global warming, influences elections, or eats your -+ I'm not responsible if it blows up your hard drive, data loss, kills your dog, -+ steals your money, causes global warming, influences elections, or eats your - homework! - -diff -u speed.c speed.c ---- speed.c 2006-09-24 02:45:33.000000000 +0100 -+++ speed.c 2006-10-22 18:48:30.000000000 +0100 -@@ -92,7 +92,6 @@ - extern int size; - int progress = FALSE; - int per = 0; -- char *pathname; - char filename[255] = ""; - - if ((ret = stat(dstf, &st_dst)) == -1) { |