commit:     f8dc1e9071fefd7502be1797d0c8e1fdbd9c2bc1
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 11:13:08 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 11:14:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8dc1e90

app-benchmarks/bonnie++: drop unused patches

Package-Manager: portage-2.2.27
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 .../bonnie++/files/bonnie++-1.93c-64bit.patch      | 15 -------
 .../files/bonnie++-1.93c-missing_include.patch     | 46 ----------------------
 .../files/bonnie++-1.94-missing_include.patch      | 46 ----------------------
 .../bonnie++/files/bonnie++-1.95-homepage.patch    | 12 ------
 4 files changed, 119 deletions(-)

diff --git a/app-benchmarks/bonnie++/files/bonnie++-1.93c-64bit.patch 
b/app-benchmarks/bonnie++/files/bonnie++-1.93c-64bit.patch
deleted file mode 100644
index 2af76d8..0000000
--- a/app-benchmarks/bonnie++/files/bonnie++-1.93c-64bit.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- getc_putc.cpp.old  2004-09-15 02:37:21.500489552 +0200
-+++ getc_putc.cpp      2004-09-15 02:40:58.623481840 +0200
-@@ -165,7 +165,11 @@
-   int size = 0, wrote;
-   while(size < file_size)
-   {
--    wrote = write(FILE_FD, buf, min(sizeof(buf), (unsigned int)file_size - 
size));
-+    //wrote = write(FILE_FD, buf, min(sizeof(buf), (unsigned int)file_size - 
size));
-+    /*
-+     * gcc doesn't like above line. ? : should do the job as good as min()...
-+     */
-+    wrote = write(FILE_FD, buf, (sizeof(buf) < (file_size - size) ? 
(sizeof(buf)):(file_size - size)));
-     if(wrote < 0)
-     {
-       fprintf(stderr, "Can't extend file - disk full?\n");

diff --git a/app-benchmarks/bonnie++/files/bonnie++-1.93c-missing_include.patch 
b/app-benchmarks/bonnie++/files/bonnie++-1.93c-missing_include.patch
deleted file mode 100644
index 2afe02b..0000000
--- a/app-benchmarks/bonnie++/files/bonnie++-1.93c-missing_include.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -Naur bonnie++-1.93c.orig/bon_csv2html.cpp bonnie++-1.93c/bon_csv2html.cpp
---- bonnie++-1.93c.orig/bon_csv2html.cpp       2008-05-02 14:12:19.000000000 
+0200
-+++ bonnie++-1.93c/bon_csv2html.cpp    2008-05-02 14:13:57.000000000 +0200
-@@ -3,6 +3,7 @@
- #include <vector>
- #include <string.h>
- #include <math.h>
-+#include <stdlib.h>
- 
- // Maximum number of items expected on a csv line
- #define MAX_ITEMS 48
-diff -Naur bonnie++-1.93c.orig/getc_putc.cpp bonnie++-1.93c/getc_putc.cpp
---- bonnie++-1.93c.orig/getc_putc.cpp  2008-05-02 14:12:19.000000000 +0200
-+++ bonnie++-1.93c/getc_putc.cpp       2008-05-02 14:19:15.000000000 +0200
-@@ -12,6 +12,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
-+#include <string.h>
- #include <vector>
- 
- #include "duration.h"
-diff -Naur bonnie++-1.93c.orig/getc_putc_helper.cpp 
bonnie++-1.93c/getc_putc_helper.cpp
---- bonnie++-1.93c.orig/getc_putc_helper.cpp   2008-05-02 14:12:19.000000000 
+0200
-+++ bonnie++-1.93c/getc_putc_helper.cpp        2008-05-02 14:19:57.000000000 
+0200
-@@ -7,6 +7,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
-+#include <string.h>
- #include "duration.h"
- #include <vector>
- #include "getc_putc.h"
-diff -Naur bonnie++-1.93c.orig/zcav.cpp bonnie++-1.93c/zcav.cpp
---- bonnie++-1.93c.orig/zcav.cpp       2008-05-02 14:12:19.000000000 +0200
-+++ bonnie++-1.93c/zcav.cpp    2008-05-02 14:20:42.000000000 +0200
-@@ -9,6 +9,9 @@
- #include "getopt.h"
- #endif
- 
-+#include <stdlib.h>
-+#include <string.h>
-+
- #define TOO_MANY_LOOPS 100
- 
- void usage()

diff --git a/app-benchmarks/bonnie++/files/bonnie++-1.94-missing_include.patch 
b/app-benchmarks/bonnie++/files/bonnie++-1.94-missing_include.patch
deleted file mode 100644
index 2afe02b..0000000
--- a/app-benchmarks/bonnie++/files/bonnie++-1.94-missing_include.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -Naur bonnie++-1.93c.orig/bon_csv2html.cpp bonnie++-1.93c/bon_csv2html.cpp
---- bonnie++-1.93c.orig/bon_csv2html.cpp       2008-05-02 14:12:19.000000000 
+0200
-+++ bonnie++-1.93c/bon_csv2html.cpp    2008-05-02 14:13:57.000000000 +0200
-@@ -3,6 +3,7 @@
- #include <vector>
- #include <string.h>
- #include <math.h>
-+#include <stdlib.h>
- 
- // Maximum number of items expected on a csv line
- #define MAX_ITEMS 48
-diff -Naur bonnie++-1.93c.orig/getc_putc.cpp bonnie++-1.93c/getc_putc.cpp
---- bonnie++-1.93c.orig/getc_putc.cpp  2008-05-02 14:12:19.000000000 +0200
-+++ bonnie++-1.93c/getc_putc.cpp       2008-05-02 14:19:15.000000000 +0200
-@@ -12,6 +12,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
-+#include <string.h>
- #include <vector>
- 
- #include "duration.h"
-diff -Naur bonnie++-1.93c.orig/getc_putc_helper.cpp 
bonnie++-1.93c/getc_putc_helper.cpp
---- bonnie++-1.93c.orig/getc_putc_helper.cpp   2008-05-02 14:12:19.000000000 
+0200
-+++ bonnie++-1.93c/getc_putc_helper.cpp        2008-05-02 14:19:57.000000000 
+0200
-@@ -7,6 +7,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
-+#include <string.h>
- #include "duration.h"
- #include <vector>
- #include "getc_putc.h"
-diff -Naur bonnie++-1.93c.orig/zcav.cpp bonnie++-1.93c/zcav.cpp
---- bonnie++-1.93c.orig/zcav.cpp       2008-05-02 14:12:19.000000000 +0200
-+++ bonnie++-1.93c/zcav.cpp    2008-05-02 14:20:42.000000000 +0200
-@@ -9,6 +9,9 @@
- #include "getopt.h"
- #endif
- 
-+#include <stdlib.h>
-+#include <string.h>
-+
- #define TOO_MANY_LOOPS 100
- 
- void usage()

diff --git a/app-benchmarks/bonnie++/files/bonnie++-1.95-homepage.patch 
b/app-benchmarks/bonnie++/files/bonnie++-1.95-homepage.patch
deleted file mode 100644
index 114d414..0000000
--- a/app-benchmarks/bonnie++/files/bonnie++-1.95-homepage.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nu -Nu -uarN bonnie++-1.93c.orig/bonnie++.8 bonnie++-1.93c/bonnie++.8
---- bonnie++-1.93c.orig/bonnie++.8     2008-05-27 09:49:18.000000000 +0200
-+++ bonnie++-1.93c/bonnie++.8  2008-05-27 09:51:50.000000000 +0200
-@@ -32,7 +32,7 @@
- INN.
- .P
- All the details of the tests performed by Bonnie++ are contained in the file
--.BR /usr/share/doc/bonnie++/readme.html
-+.BR /usr/share/doc/bonnie++-1.95/html/readme.html
- 
- .SH "OPTIONS"
- For Bonnie++ every option is of the form of a hyphen followed by a letter and

Reply via email to