pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2012Q1]: pkgsrc/archivers/mousetar Pullup ticket #3714 - reque...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e597017cd621
branches:  pkgsrc-2012Q1
changeset: 602000:e597017cd621
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Sun Apr 08 10:53:55 2012 +0000

description:
Pullup ticket #3714 - requested by dholland
archivers/mousetar build fix

Revisions pulled up:
- archivers/mousetar/Makefile                                   1.19-1.20

---
   Module Name: pkgsrc
   Committed By:        dholland
   Date:                Sat Apr  7 23:32:40 UTC 2012

   Modified Files:
        pkgsrc/archivers/mousetar: Makefile

   Log Message:
   Always set -DDIRENT_FIXUP, which means opendir() returns POSIX struct
   dirent rather than the FFS struct direct. As this has been POSIX for
   at least twenty years I very, very much doubt there are any exceptions
   left in the wild.

   Fixes build on NetBSD-current.

---
   Module Name: pkgsrc
   Committed By:        dholland
   Date:                Sat Apr  7 23:35:35 UTC 2012

   Modified Files:
        pkgsrc/archivers/mousetar: Makefile

   Log Message:
   On reflection, bump PKGREVISION. It stopped building on -current
   because quota-related FFS header reorganization caused the definition
   of the FFS struct direct to no longer be visible; however, on older
   NetBSD since struct direct and struct dirent diverged (which was some
   time back) it would have built successfully unless given -Wall, but
   not worked.

diffstat:

 archivers/mousetar/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 710d8d2a26e0 -r e597017cd621 archivers/mousetar/Makefile
--- a/archivers/mousetar/Makefile       Sun Apr 08 10:53:25 2012 +0000
+++ b/archivers/mousetar/Makefile       Sun Apr 08 10:53:55 2012 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2012/02/29 18:14:31 hans Exp $
+# $NetBSD: Makefile,v 1.18.2.1 2012/04/08 10:53:55 sbd Exp $
 #
 
 DISTNAME=      mousetar-20021217
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ftp://sparkle.rodents.montreal.qc.ca/pub/mouse/ftp.netbsd.org/tar/
 DISTFILES=     tar.c tar.man
@@ -19,7 +20,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-CPPFLAGS.SunOS+=       -DTAR_INODE_NONE -DDIRENT_FIXUP -DLINUX_NAMLEN
+CPPFLAGS+=             -DDIRENT_FIXUP
+CPPFLAGS.SunOS+=       -DTAR_INODE_NONE -DLINUX_NAMLEN
 CPPFLAGS.SunOS+=       -DL_SET=SEEK_SET -DL_INCR=SEEK_CUR -DL_XTND=SEEK_END
 
 .if ${MACHINE_PLATFORM:MNetBSD-[2-9].*-*} != ""



Home | Main Index | Thread Index | Old Index