Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2012 17:27:39 GMT
From:      Olivier <software-freebsd@interfasys.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167208: libmemcached 1.0.6 fails to compile on FreeBSD 8.2 with gcc46
Message-ID:  <201204221727.q3MHRdBE075576@red.freebsd.org>
Resent-Message-ID: <201204221730.q3MHUBe3021347@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204221727.q3MHRdBE075576>