summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2015-01-18 22:50:42 +0000
committerwiedi <wiedi@pkgsrc.org>2015-01-18 22:50:42 +0000
commit9d3c9794811a5a30172b367c593431d453ee72b5 (patch)
treef58331fc7940d1eb4d505f9332425df17e6026c4 /sysutils
parent8498d6f917e182fa7dcb52290a11b8f7201521a2 (diff)
downloadpkgsrc-9d3c9794811a5a30172b367c593431d453ee72b5.tar.gz
Fix build on SunOS (needs u_int64_t)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/foremost/Makefile4
-rw-r--r--sysutils/foremost/distinfo4
-rw-r--r--sysutils/foremost/patches/patch-ab4
3 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/foremost/Makefile b/sysutils/foremost/Makefile
index 08a6f2fb3fe..15d1b243e83 100644
--- a/sysutils/foremost/Makefile
+++ b/sysutils/foremost/Makefile
@@ -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 @@ EGDIR= ${PREFIX}/share/examples/foremost
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 --git a/sysutils/foremost/distinfo b/sysutils/foremost/distinfo
index ca11c089718..add10454255 100644
--- a/sysutils/foremost/distinfo
+++ b/sysutils/foremost/distinfo
@@ -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 --git a/sysutils/foremost/patches/patch-ab b/sysutils/foremost/patches/patch-ab
index f8de76e886a..16b4ea6d11a 100644
--- a/sysutils/foremost/patches/patch-ab
+++ b/sysutils/foremost/patches/patch-ab
@@ -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 @@ $NetBSD: patch-ab,v 1.2 2010/06/28 10:18:58 joerg Exp $
+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