From owner-p4-projects@FreeBSD.ORG Wed Nov 14 01:07:12 2012 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5FF50145; Wed, 14 Nov 2012 01:07:12 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19678143 for ; Wed, 14 Nov 2012 01:07:12 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 00DA28FC17 for ; Wed, 14 Nov 2012 01:07:12 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.5/8.14.5) with ESMTP id qAE17BQG049852 for ; Wed, 14 Nov 2012 01:07:11 GMT (envelope-from bz@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.5/8.14.5/Submit) id qAE17BhZ049849 for perforce@freebsd.org; Wed, 14 Nov 2012 01:07:11 GMT (envelope-from bz@freebsd.org) Date: Wed, 14 Nov 2012 01:07:11 GMT Message-Id: <201211140107.qAE17BhZ049849@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to bz@freebsd.org using -f From: "Bjoern A. Zeeb" Subject: PERFORCE change 219776 for review To: Perforce Change Reviews Precedence: bulk X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.14 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 01:07:12 -0000 http://p4web.freebsd.org/@@219776?ac=10 Change 219776 by bz@bz_zenith on 2012/11/14 01:06:55 Disabled the need for -lm (floating point). Due to time constraints use the hammer and also do in the header file; should be resolved properly in a few hours. Affected files ... .. //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/Makefile#2 edit .. //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/pngconf.h#2 edit Differences ... ==== //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/Makefile#2 (text+ko) ==== @@ -28,4 +28,6 @@ # Disable the stack protector, we want to be vulnerable SSP_CFLAGS= +CFLAGS+= -DPNG_NO_FLOATING_POINT_SUPPORTED + .include ==== //depot/projects/ctsrd/cheribsd/src/ctsrd-lib/libvuln_png/pngconf.h#2 (text+ko) ==== @@ -53,6 +53,7 @@ # endif #endif +#define PNG_NO_FLOATING_POINT_SUPPORTED #ifndef PNG_NO_FLOATING_POINT_SUPPORTED # ifndef PNG_FLOATING_POINT_SUPPORTED # define PNG_FLOATING_POINT_SUPPORTED