summaryrefslogtreecommitdiff
path: root/archivers/szip/patches/patch-aa
blob: fea815c7538b033e824c0be03d5ba887b5b25245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.3 2020/03/01 01:20:45 mef Exp $

On DragonFly at least, -lm is needed for brust_szip. It doesn't hurt on
other platforms, so just add it.

--- test/Makefile.in.orig	2017-01-14 05:40:26.000000000 +0900
+++ test/Makefile.in	2020-03-01 10:15:25.756240983 +0900
@@ -499,7 +499,7 @@ top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/test
 burst_szip_SOURCES = burst_szip.c mcgill.c
-burst_szip_LDADD = ../src/libsz.la
+burst_szip_LDADD = ../src/libsz.la -lm
 burst_szip_DEPENDENCIES = ../src/libsz.la
 example_SOURCES = example.c
 example_LDADD = ../src/libsz.la