From owner-freebsd-apache@FreeBSD.ORG Sat Apr 20 17:40:02 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4FDDDCBD for ; Sat, 20 Apr 2013 17:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6537D5 for ; Sat, 20 Apr 2013 17:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3KHe14r067650 for ; Sat, 20 Apr 2013 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3KHe1pY067649; Sat, 20 Apr 2013 17:40:01 GMT (envelope-from gnats) Date: Sat, 20 Apr 2013 17:40:01 GMT Message-Id: <201304201740.r3KHe1pY067649@freefall.freebsd.org> To: apache@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/177693: commit references a PR X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 17:40:02 -0000 The following reply was made to PR ports/177693; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/177693: commit references a PR Date: Sat, 20 Apr 2013 17:28:50 +0000 (UTC) Author: ohauer Date: Sat Apr 20 17:28:36 2013 New Revision: 316160 URL: http://svnweb.freebsd.org/changeset/ports/316160 Log: - fix build on sparc64 machine Feature safe: yes with hat apache@ PR: 177693 Submitted by: Michael Moll Obtained from: http://svn.apache.org/viewvc?view=revision&revision=1470183 Added: head/www/apache24/files/patch-server__core.c (contents, props changed) Modified: head/www/apache24/Makefile Modified: head/www/apache24/Makefile ============================================================================== --- head/www/apache24/Makefile Sat Apr 20 16:29:57 2013 (r316159) +++ head/www/apache24/Makefile Sat Apr 20 17:28:36 2013 (r316160) @@ -2,6 +2,7 @@ PORTNAME= apache24 PORTVERSION= 2.4.4 +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= httpd-${PORTVERSION} Added: head/www/apache24/files/patch-server__core.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/files/patch-server__core.c Sat Apr 20 17:28:36 2013 (r316160) @@ -0,0 +1,27 @@ +Apache issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=52900 + +Obtained from: +http://svn.apache.org/viewvc?view=revision&revision=1470183 +============================================================ +--- ./server/core.c.orig 2013-02-06 18:15:16.000000000 +0100 ++++ ./server/core.c 2013-04-20 19:11:17.000000000 +0200 +@@ -4768,13 +4768,18 @@ + AP_DECLARE(apr_uint32_t) ap_random_pick(apr_uint32_t min, apr_uint32_t max) + { + apr_uint32_t number; ++#if (!__GNUC__ || __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) || \ ++ !__sparc__ || APR_SIZEOF_VOIDP != 8) ++ /* This triggers a gcc bug on sparc/64bit with gcc < 4.8, PR 52900 */ + if (max < 16384) { + apr_uint16_t num16; + ap_random_insecure_bytes(&num16, sizeof(num16)); + RAND_RANGE(num16, min, max, APR_UINT16_MAX); + number = num16; + } +- else { ++ else ++#endif ++ { + ap_random_insecure_bytes(&number, sizeof(number)); + RAND_RANGE(number, min, max, APR_UINT32_MAX); + } _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"