summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2017-08-19 15:06:07 +0200
committerMichael Palimaka <kensington@gentoo.org>2017-09-03 00:46:02 +1000
commite10264b4210893fbc2c7f622c1a3f44a4ff745f6 (patch)
tree90dead095b8a6feae0f4f0a5e4eaba33b42b4fbd /dev-libs
parentdev-lang/erlang: remove unused patch (diff)
downloadgentoo-e10264b4210893fbc2c7f622c1a3f44a4ff745f6.tar.gz
gentoo-e10264b4210893fbc2c7f622c1a3f44a4ff745f6.tar.bz2
gentoo-e10264b4210893fbc2c7f622c1a3f44a4ff745f6.zip
dev-libs/hiredis: remove unused patches
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch33
-rw-r--r--dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch36
2 files changed, 0 insertions, 69 deletions
diff --git a/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch
deleted file mode 100644
index a67503861c24..000000000000
--- a/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- test.c.orig 2013-02-05 10:45:22.000000000 -0500
-+++ test.c 2013-02-05 10:43:19.000000000 -0500
-@@ -282,12 +282,14 @@
- static void test_blocking_connection_errors(void) {
- redisContext *c;
-
-+ /*
- test("Returns error when host cannot be resolved: ");
- c = redisConnect((char*)"idontexist.local", 6379);
- test_cond(c->err == REDIS_ERR_OTHER &&
- (strcmp(c->errstr,"Name or service not known") == 0 ||
- strcmp(c->errstr,"Can't resolve: idontexist.local") == 0));
- redisFree(c);
-+ */
-
- test("Returns error when the port is not open: ");
- c = redisConnect((char*)"localhost", 1);
-@@ -634,6 +636,7 @@
- test_reply_reader();
- test_blocking_connection_errors();
-
-+/*
- printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port);
- cfg.type = CONN_TCP;
- test_blocking_connection(cfg);
-@@ -645,6 +648,7 @@
- test_blocking_connection(cfg);
- test_blocking_io_errors(cfg);
- if (throughput) test_throughput(cfg);
-+*/
-
- if (fails) {
- printf("*** %d TESTS FAILED ***\n", fails);
diff --git a/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch
deleted file mode 100644
index 2fcbb076d5df..000000000000
--- a/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git test.c test.c
-index 8fde554..89ed6a0 100644
---- test.c
-+++ test.c
-@@ -343,6 +343,7 @@ static void test_free_null(void) {
- static void test_blocking_connection_errors(void) {
- redisContext *c;
-
-+#if 0
- test("Returns error when host cannot be resolved: ");
- c = redisConnect((char*)"idontexist.test", 6379);
- test_cond(c->err == REDIS_ERR_OTHER &&
-@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) {
- strcmp(c->errstr,"Temporary failure in name resolution") == 0 ||
- strcmp(c->errstr,"no address associated with name") == 0));
- redisFree(c);
-+#endif
-
- test("Returns error when the port is not open: ");
- c = redisConnect((char*)"localhost", 1);
-@@ -773,6 +775,7 @@ int main(int argc, char **argv) {
- test_blocking_connection_errors();
- test_free_null();
-
-+#if 0
- printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port);
- cfg.type = CONN_TCP;
- test_blocking_connection(cfg);
-@@ -781,6 +784,7 @@ int main(int argc, char **argv) {
- test_invalid_timeout_errors(cfg);
- test_append_formatted_commands(cfg);
- if (throughput) test_throughput(cfg);
-+#endif
-
- printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path);
- cfg.type = CONN_UNIX;