summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-05-11 17:49:07 +0000
committerdelphij <delphij@FreeBSD.org>2015-05-11 17:49:07 +0000
commit34e58b2f1d9583b93611b2de597741ed326dd300 (patch)
tree66950d46956ab9781a832ad19851a483452e80f7
parentbc9bb928c8fc5a44fe7714505d0599e7ae4a49a0 (diff)
downloadFreeBSD-src-34e58b2f1d9583b93611b2de597741ed326dd300.zip
FreeBSD-src-34e58b2f1d9583b93611b2de597741ed326dd300.tar.gz
Revert r281372, it's no longer needed after r282726 (fix for PR 199119) as the
symbol conflict between libmd and libcrypto have been solved.
-rw-r--r--lib/liblzma/Makefile5
-rw-r--r--lib/liblzma/Symbol.map3
-rw-r--r--lib/liblzma/config.h9
3 files changed, 5 insertions, 12 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile
index 39b929f..9c4b1d8 100644
--- a/lib/liblzma/Makefile
+++ b/lib/liblzma/Makefile
@@ -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
diff --git a/lib/liblzma/Symbol.map b/lib/liblzma/Symbol.map
index c297625..f49f29f 100644
--- a/lib/liblzma/Symbol.map
+++ b/lib/liblzma/Symbol.map
@@ -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;
diff --git a/lib/liblzma/config.h b/lib/liblzma/config.h
index 1d0f0bc..44bc02c 100644
--- a/lib/liblzma/config.h
+++ b/lib/liblzma/config.h
@@ -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 */
OpenPOWER on IntegriCloud