freebsd-ports/devel/gearmand/files/patch-libgearman-server__plugins__queue__redis__queue.cc
Greg Larkin e8bdd4e827 - Updated to 1.0.6 (1.1.x versions will reside in devel/gearman-devel soon)
- Trimmed Makefile header
- Added patches to work around missing alloca.h
- Added CONFLICTS to p5-Gearman-Server for gearmand 1.0.* and 1.1.*
2013-07-17 18:19:08 +00:00

17 lines
686 B
C++

--- ./libgearman-server/plugins/queue/redis/queue.cc.orig 2013-07-17 10:53:36.000000000 -0400
+++ ./libgearman-server/plugins/queue/redis/queue.cc 2013-07-17 10:53:49.000000000 -0400
@@ -271,14 +271,11 @@
assert(fmt_str_length != 1);
return gearmand_gerror("snprintf() failed to produce a valud fmt_str for redis key", GEARMAN_QUEUE_ERROR);
}
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
int ret= sscanf(reply->element[x]->str,
fmt_str,
prefix,
function_name,
unique);
-#pragma GCC diagnostic pop
if (ret == 0)
{
continue;