From 9993a11cae16a96b4c036f9130dfbaf84d6237df Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Thu, 27 Sep 2012 16:02:39 +0200 Subject: [PATCH] pax: -DLONG_OFF_T added (Makefile does it, too) --- packages/app-arch/pax/pax-20120606-r2.exheres-0 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/app-arch/pax/pax-20120606-r2.exheres-0 b/packages/app-arch/pax/pax-20120606-r2.exheres-0 index c9b57c0..b07ebba 100644 --- a/packages/app-arch/pax/pax-20120606-r2.exheres-0 +++ b/packages/app-arch/pax/pax-20120606-r2.exheres-0 @@ -7,12 +7,15 @@ SUMMARY="Portable Archive Interchange" LICENCES="( BSD-3 MIT )" SLOT="0" -PLATFORMS="~amd64" +PLATFORMS="~amd64 ~x86" DEPENDENCIES="" src_compile() { - edo gcc ${CFLAGS} ${LDFLAGS} -o pax *.c + # Makefile says: + # # -DLONG_OFF_T The base type of off_t is a long, not a long long. + # # This is often defined in: /usr/include/sys/types.h + edo gcc -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c } src_install() {