ports/167208: libmemcached 1.0.6 fails to compile on FreeBSD 8.2 with gcc46
Olivier
software-freebsd at interfasys.ch
Sun Apr 22 17:30:11 UTC 2012
>Number: 167208
>Category: ports
>Synopsis: libmemcached 1.0.6 fails to compile on FreeBSD 8.2 with gcc46
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 22 17:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Olivier
>Release: 8.2 STABLE
>Organization:
interfaSys sàrl
>Environment:
8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Sep 7 00:31:45 CEST 2011 :/usr/obj/usr/src/sys/SIGMA amd64
>Description:
libmemcached 1.0.6 fails to compile when using gcc46. It's a recurrent problem with that package.
>How-To-Repeat:
# portmaster databases/libmemcached
>Fix:
Patch is attached
Patch attached with submission follows:
--- util/log.hpp.orig 2012-04-22 19:10:08.624721461 +0200
+++ util/log.hpp 2012-04-22 19:11:43.651275813 +0200
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include <iostream>
#include <string>
+#include <string.h>
#include <syslog.h>
#define UTIL_MAX_ERROR_SIZE 2048
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list