FreeBSD Bugzilla – Attachment 156677 Details for
Bug 200142
[exp-run] [patch] Make liblzma use libmd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Revision 282775.
282775.diff (text/plain), 1.87 KB, created by
Xin LI
on 2015-05-12 05:45:12 UTC
(
hide
)
Description:
Revision 282775.
Filename:
MIME Type:
Creator:
Xin LI
Created:
2015-05-12 05:45:12 UTC
Size:
1.87 KB
patch
obsolete
>Index: lib/liblzma/config.h >=================================================================== >--- lib/liblzma/config.h (revision 282774) >+++ lib/liblzma/config.h (revision 282775) >@@ -203,16 +203,13 @@ > /* #undef HAVE_SHA256INIT */ > > /* Define to 1 if the system has the type `SHA256_CTX'. */ >-/* FreeBSD - disabled libmd SHA256 for now */ >-/* #undef HAVE_SHA256_CTX */ >+#define HAVE_SHA256_CTX 1 > > /* Define to 1 if you have the <sha256.h> header file. */ >-/* FreeBSD - disabled libmd SHA256 for now */ >-/* #undef HAVE_SHA256_H */ >+#define HAVE_SHA256_H 1 > > /* Define to 1 if you have the `SHA256_Init' function. */ >-/* FreeBSD - disabled libmd SHA256 for now */ >-/* #undef HAVE_SHA256_INIT */ >+#define HAVE_SHA256_INIT 1 > > /* Define to 1 if the system has the type `SHA2_CTX'. */ > /* #undef HAVE_SHA2_CTX */ >Index: lib/liblzma/Makefile >=================================================================== >--- lib/liblzma/Makefile (revision 282774) >+++ lib/liblzma/Makefile (revision 282775) >@@ -77,8 +77,7 @@ SRCS+= common.c \ > .PATH: ${LZMADIR}/check > SRCS+= check.c \ > crc32_table.c \ >- crc64_table.c \ >- sha256.c >+ crc64_table.c > .if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "i386" > SRCS+= crc32_x86.S \ > crc64_x86.S >@@ -146,7 +145,7 @@ CFLAGS+= -DHAVE_CONFIG_H \ > -I${LZMADIR}/simple \ > -I${LZMADIR}/../common > >-LIBADD+= pthread >+LIBADD+= md pthread > > VERSION_DEF= ${.CURDIR}/Versions.def > SYMBOL_MAPS= ${.CURDIR}/Symbol.map >Index: lib/liblzma/Symbol.map >=================================================================== >--- lib/liblzma/Symbol.map (revision 282774) >+++ lib/liblzma/Symbol.map (revision 282775) >@@ -180,9 +180,6 @@ XZprivate_1.0 { > lzma_raw_coder_memusage; > lzma_raw_decoder_init; > lzma_raw_encoder_init; >- lzma_sha256_finish; >- lzma_sha256_init; >- lzma_sha256_update; > lzma_simple_arm_decoder_init; > lzma_simple_arm_encoder_init; > lzma_simple_armthumb_decoder_init;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200142
:
156677
|
214505
|
214775
|
214776
|
215029