pkgsrc/devel/libFoundation/patches/patch-ab
rh 3f610bd600 Update libFoundation to 1.1.7.168. This makes libFoundation play nice with
the new gnustep-make directory structure.  Other notable changes include:
 * bugfixes and stability improvements
 * Support for some new Cocoa classes, like NSURL
 * Improved compatibility with gstep-base
 * more and fixed timezone files
 * support for read-only strings in UTF-8 and UTF-16
 * some fixes for warnings thrown in new gcc (gcc3+) compilers
2009-04-18 02:19:23 +00:00

17 lines
466 B
Text

$NetBSD: patch-ab,v 1.1 2009/04/18 02:19:23 rh Exp $
--- Foundation/NSDecimalNumber.m.orig 2008-11-03 02:00:07.000000000 +1000
+++ Foundation/NSDecimalNumber.m
@@ -22,10 +22,12 @@
or in connection with the use or performance of this software.
*/
+#define nan system_nan
#include <Foundation/NSDecimalNumber.h>
#include <Foundation/NSUtilities.h>
#include <common.h>
#include <math.h>
+#undef nan
@interface NSDecimalZeroNumber : NSDecimalNumber
@end