[packages/perl-Net-Pcap] - fix build on 32-bit archs

baggins baggins at pld-linux.org
Sun Jun 9 19:00:39 CEST 2013


commit 885914b31dabdb3588b66adfb45c4d1dfd521465
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 9 19:00:27 2013 +0200

    - fix build on 32-bit archs

 perl-Net-Pcap.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/perl-Net-Pcap.spec b/perl-Net-Pcap.spec
index 4c66a10..ea4bfcf 100644
--- a/perl-Net-Pcap.spec
+++ b/perl-Net-Pcap.spec
@@ -34,7 +34,9 @@ pakietów LBL pcap(3).
 
 %build
 %{__perl} Makefile.PL \
+	CCFLAGS="%{rpmcflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
 	INSTALLDIRS=vendor
+
 %{__make}
 
 %{?with_tests:%{__make} test}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Pcap.git/commitdiff/885914b31dabdb3588b66adfb45c4d1dfd521465



More information about the pld-cvs-commit mailing list