aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2007-04-11 05:51:45 +0800
committerstas <stas@FreeBSD.org>2007-04-11 05:51:45 +0800
commitf573702ab9f29f61f8b794a7ecbc2a763d03ec31 (patch)
treeba78bba733120e751e32978b25cd89840891d490 /sysutils
parent5ba57e7daf4d2643ab4bed752b30adf7e4658760 (diff)
downloadfreebsd-ports-gnome-f573702ab9f29f61f8b794a7ecbc2a763d03ec31.tar.gz
freebsd-ports-gnome-f573702ab9f29f61f8b794a7ecbc2a763d03ec31.tar.zst
freebsd-ports-gnome-f573702ab9f29f61f8b794a7ecbc2a763d03ec31.zip
- Fix type casts on 64-bit platforms.
Reported by: kris
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lavaps/Makefile2
-rw-r--r--sysutils/lavaps/files/patch-src_blob.cc11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/lavaps/Makefile b/sysutils/lavaps/Makefile
index 60f3f167d0d3..5d2f3f0307f3 100644
--- a/sysutils/lavaps/Makefile
+++ b/sysutils/lavaps/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lavaps
PORTVERSION= 2.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/
diff --git a/sysutils/lavaps/files/patch-src_blob.cc b/sysutils/lavaps/files/patch-src_blob.cc
new file mode 100644
index 000000000000..847d6907fded
--- /dev/null
+++ b/sysutils/lavaps/files/patch-src_blob.cc
@@ -0,0 +1,11 @@
+--- src/blob.cc.orig Wed Apr 11 01:47:27 2007
++++ src/blob.cc Wed Apr 11 01:48:10 2007
+@@ -503,7 +503,7 @@
+ blob::print()
+ {
+ ENTRY_TRACE(__FILE__,__LINE__);
+- cout << O_("blob: ") << (unsigned)this << O_(" x=") << x_ << O_(" step=") << x_step_ << O_(" num=") << num_ << O_(":");
++ cout << O_("blob: ") << (uintptr_t)this << O_(" x=") << x_ << O_(" step=") << x_step_ << O_(" num=") << num_ << O_(":");
+ for (int i = 0; i < num_; i++) {
+ cout << O_(" ") << y_lows_[i] << O_("-") << y_highs_[i];
+ };