Skip Menu |

This queue is for tickets about the File-LibMagic CPAN distribution.

Report information
The Basics
Id: 56479
Status: resolved
Priority: 0/
Queue: File-LibMagic

People
Owner: Nobody in particular
Requestors: ansgar [...] 43-1.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.97



Subject: [PATCH] Do not link libz
Date: Sun, 11 Apr 2010 22:05:24 +0900
To: bug-File-LibMagic [...] rt.cpan.org
From: Ansgar Burchardt <ansgar [...] 43-1.org>
Hi, File::LibMagic does not use any symbols from libz directly so there is no need to link against it. Please consider applying the attached patch to remove this dependency. It builds and passes the test suite with the patch applied. Regards, Ansgar
From: Ansgar Burchardt Date: Sun, 11 Apr 2010 17:53:55 +0900 Bug-Debian: http://bugs.debian.org/577288 Subject: Do not link libz --- libfile-libmagic-perl.orig/Makefile.PL +++ libfile-libmagic-perl/Makefile.PL @@ -15,7 +15,7 @@ 'PREREQ_PM' => { }, 'ABSTRACT_FROM' => 'LibMagic.pm', # retrieve abstract from module 'AUTHOR' => 'Andreas Fitzner <andreas.fitzner@fv-berlin.de>', - 'LIBS' => ['-lmagic -lz'], # e.g., '-lm' + 'LIBS' => ['-lmagic'], # e.g., '-lm' 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' 'INC' => '-I.', # e.g., '-I. -I/usr/include/other' # Un-comment this if you add C files to link with later: