Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 01:07:11 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 219776 for review
Message-ID:  <201211140107.qAE17BhZ049849@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.lib.mk>

==== //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



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