Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/fontconfig/dist revert workaround for lint



details:   https://anonhg.NetBSD.org/xsrc/rev/d1eabf8a6cd9
branches:  trunk
changeset: 7401:d1eabf8a6cd9
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jan 22 21:09:48 2023 +0000

description:
revert workaround for lint

A simple '-DFC_NO_MT' in the Makefile works even better.

diffstat:

 external/mit/fontconfig/dist/config-fixups.h |  8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diffs (15 lines):

diff -r e1ff0b7588a1 -r d1eabf8a6cd9 external/mit/fontconfig/dist/config-fixups.h
--- a/external/mit/fontconfig/dist/config-fixups.h      Sun Jan 22 20:47:13 2023 +0000
+++ b/external/mit/fontconfig/dist/config-fixups.h      Sun Jan 22 21:09:48 2023 +0000
@@ -38,11 +38,3 @@
 #  define ALIGNOF_DOUBLE 4
 # endif
 #endif
-
-/*
- * NetBSD's lint cannot handle GCC's built-in <stdatomic.h>:
- * fcatomic.h(64): error: syntax error '__atomic_compare_exchange_ptr' [249]
- */
-#ifdef lint
-# undef HAVE_STDATOMIC_PRIMITIVES
-#endif



Home | Main Index | Thread Index | Old Index