pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/foremost Fix build on SunOS (needs u_int64_t)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73e03789504e
branches:  trunk
changeset: 644886:73e03789504e
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sun Jan 18 22:50:42 2015 +0000

description:
Fix build on SunOS (needs u_int64_t)

diffstat:

 sysutils/foremost/Makefile         |  4 +++-
 sysutils/foremost/distinfo         |  4 ++--
 sysutils/foremost/patches/patch-ab |  4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (51 lines):

diff -r 8a194b2d007b -r 73e03789504e sysutils/foremost/Makefile
--- a/sysutils/foremost/Makefile        Sun Jan 18 22:05:59 2015 +0000
+++ b/sysutils/foremost/Makefile        Sun Jan 18 22:50:42 2015 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2012/10/23 19:51:02 asau Exp $
+# $NetBSD: Makefile,v 1.5 2015/01/18 22:50:42 wiedi Exp $
 
 DISTNAME=      foremost-1.4
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://foremost.sourceforge.net/pkg/
 
@@ -12,5 +13,6 @@
 CONF_FILES=    ${EGDIR}/foremost.conf ${PKG_SYSCONFDIR}/foremost.conf
 
 INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1 ${EGDIR}
+CPPFLAGS.SunOS+=       -Du_int64_t=uint64_t
 
 .include "../../mk/bsd.pkg.mk"
diff -r 8a194b2d007b -r 73e03789504e sysutils/foremost/distinfo
--- a/sysutils/foremost/distinfo        Sun Jan 18 22:05:59 2015 +0000
+++ b/sysutils/foremost/distinfo        Sun Jan 18 22:50:42 2015 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2010/06/28 10:18:58 joerg Exp $
+$NetBSD: distinfo,v 1.4 2015/01/18 22:50:42 wiedi Exp $
 
 SHA1 (foremost-1.4.tar.gz) = c6f9f28ae80a57388a8e8a6b958bc8c76797fad4
 RMD160 (foremost-1.4.tar.gz) = b2ea590ab78f96e74cb3842ad60dc4f1429244ef
 Size (foremost-1.4.tar.gz) = 49521 bytes
 SHA1 (patch-aa) = 39f986d19d80efe431d92af7884ae0a395ff9576
-SHA1 (patch-ab) = a5f6eb555818b333faebfc611fbabf8cef49f441
+SHA1 (patch-ab) = 208474631afc9822d753d17620adf6885168a1e0
 SHA1 (patch-ac) = 7832701bafa1336fda2b4e08ef38bca8ddf29f8d
diff -r 8a194b2d007b -r 73e03789504e sysutils/foremost/patches/patch-ab
--- a/sysutils/foremost/patches/patch-ab        Sun Jan 18 22:05:59 2015 +0000
+++ b/sysutils/foremost/patches/patch-ab        Sun Jan 18 22:50:42 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2010/06/28 10:18:58 joerg Exp $
+$NetBSD: patch-ab,v 1.3 2015/01/18 22:50:42 wiedi Exp $
 
 --- Makefile.orig      2007-01-26 15:10:20.000000000 +0100
 +++ Makefile
@@ -18,7 +18,7 @@
 +SAMPLES = ${DESTDIR}$(PREFIX)/share/examples/foremost
 +
 +# Tell it to config.c
-+RAW_FLAGS += -DCONFDIR=\"$(CONF)\"
++RAW_FLAGS += -DCONFDIR=\"$(CONF)\" $(CPPFLAGS)
 +
  # Setup for compiling and cross-compiling for Windows
  # The CR_ prefix refers to cross compiling from OSX to Windows



Home | Main Index | Thread Index | Old Index