- fix compiling on 64-bit

issue reported by RD Thrush <rd at thrush dot com>
patch from Pierre-Emmanuel Andre <pea at raveland dot org> (MAINTAINER)
- add VMEM_WARNING while here
This commit is contained in:
ajacoutot 2008-02-14 13:40:55 +00:00
parent 7c12499275
commit 0bb98fe9bd
2 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.27 2008/02/01 20:30:49 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.28 2008/02/14 13:40:55 ajacoutot Exp $
COMMENT= powerful Gtk+2 newsreader
V= 0.132
DISTNAME= pan-${V}
PKGNAME= ${DISTNAME}p0
CATEGORIES= news x11
HOMEPAGE= http://pan.rebelbase.com/
@ -32,6 +33,7 @@ LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
gtkspell.>=1::textproc/gtkspell
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
VMEM_WARNING= Yes
USE_X11= Yes
CONFIGURE_STYLE=gnu

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-pan_gui_gui_cc,v 1.1 2008/02/14 13:40:55 ajacoutot Exp $
--- pan/gui/gui.cc.orig Wed Aug 1 19:00:00 2007
+++ pan/gui/gui.cc Thu Feb 14 14:29:49 2008
@@ -1755,7 +1755,7 @@ GUI :: set_queue_size_label (unsigned int running,
// build the tooltip
gulong queued, unused, stopped;
- guint64 KiB_remain;
+ uint64_t KiB_remain;
double KiBps;
int hr, min, sec;
_queue.get_stats (queued, unused, stopped,