Source-Changes-HG archive

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

[src/tls-earlyentropy]: src/sys/lib/libkern (Temporarily) disable LZF in libk...



details:   https://anonhg.NetBSD.org/src/rev/e48ff46809ad
branches:  tls-earlyentropy
changeset: 795276:e48ff46809ad
user:      tls <tls%NetBSD.org@localhost>
date:      Sat Aug 09 07:45:03 2014 +0000

description:
(Temporarily) disable LZF in libkern -- it introduces a dependency from
src/sys to src/external which I'll need to fix by moving the LZF sources.

diffstat:

 sys/lib/libkern/Makefile.libkern |  6 +++---
 sys/lib/libkern/libkern.h        |  4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 04b1c6e68cda -r e48ff46809ad sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Sat Aug 09 06:19:50 2014 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Sat Aug 09 07:45:03 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libkern,v 1.32.2.2 2014/07/17 14:03:33 tls Exp $
+#      $NetBSD: Makefile.libkern,v 1.32.2.3 2014/08/09 07:45:03 tls Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -94,8 +94,8 @@
 SRCS+= cdbr.c
 SRCS+= mi_vector_hash.c
 
-.PATH: ${NETBSDSRCDIR}/external/bsd/liblzf/dist
-SRCS+= lzf_c.c lzf_d.c
+#.PATH:        ${NETBSDSRCDIR}/external/bsd/liblzf/dist
+#SRCS+=        lzf_c.c lzf_d.c
 
 # Files to clean up
 CLEANFILES+= lib${LIB}.o lib${LIB}.po
diff -r 04b1c6e68cda -r e48ff46809ad sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Sat Aug 09 06:19:50 2014 +0000
+++ b/sys/lib/libkern/libkern.h Sat Aug 09 07:45:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libkern.h,v 1.113.2.1 2014/04/07 01:10:55 tls Exp $    */
+/*     $NetBSD: libkern.h,v 1.113.2.2 2014/08/09 07:45:03 tls Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -380,6 +380,7 @@
 void   *explicit_memset(void *, int, size_t);
 int    consttime_memequal(const void *, const void *, size_t);
 
+#ifdef notyet
 /*
  * LZF hashtable/state size: on uncompressible data and on a system with
  * a sufficiently large d-cache, a larger table produces a considerable
@@ -396,5 +397,6 @@
                             unsigned int, LZF_STATE);
 unsigned int lzf_decompress (const void *const, unsigned int, void *,
                             unsigned int);
+#endif
 
 #endif /* !_LIB_LIBKERN_LIBKERN_H_ */



Home | Main Index | Thread Index | Old Index