Update for logstalgia to 1.0.6

also, unify my email

looks good to me jasper@
This commit is contained in:
gonzalo 2014-10-22 15:02:25 +00:00
parent 48561e98fb
commit c8ac8c8528
3 changed files with 21 additions and 20 deletions

View File

@ -1,33 +1,37 @@
# $OpenBSD: Makefile,v 1.4 2013/08/07 21:32:37 naddy Exp $
# $OpenBSD: Makefile,v 1.5 2014/10/22 15:02:25 gonzalo Exp $
COMMENT = website access log visualization
DISTNAME = logstalgia-1.0.3
REVISION = 0
DISTNAME = logstalgia-1.0.6
CATEGORIES = sysutils graphics
HOMEPAGE = https://code.google.com/p/logstalgia/
MAINTAINER = Gonzalo L. R. <gonzalo@x61.com.ar>
MAINTAINER = Gonzalo L. R. <gonzalo@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://logstalgia.googlecode.com/files/
MASTER_SITES = https://github.com/acaudwell/Logstalgia/releases/download/${DISTNAME}/
WANTLIB += ftgl GL GLU SDL SDL_image c jpeg m pcre png pthread stdc++
WANTLIB += GL GLEW GLU SDL SDL_image c freetype m pcre png pthread
WANTLIB += z
MODULES = converters/libiconv
MODULES = converters/libiconv \
gcc4
MODGCC4_ARCHS = *
MODGCC4_LANGS = c c++
CONFIGURE_STYLE =gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
LIB_DEPENDS = graphics/ftgl \
graphics/glew \
graphics/glm \
devel/boost \
devel/pcre \
devel/sdl-image
USE_GROFF = Yes
post-install:
@gzip -d ${PREFIX}/man/man1/logstalgia.1.gz

View File

@ -1,5 +1,2 @@
MD5 (logstalgia-1.0.3.tar.gz) = UWA4Ctsfse2Scs9X+98zQQ==
RMD160 (logstalgia-1.0.3.tar.gz) = a11ZCwv71BDWzHEgpBSROWMo7Dw=
SHA1 (logstalgia-1.0.3.tar.gz) = nV2w81mCkbOnoQuPS/+fYWTsytw=
SHA256 (logstalgia-1.0.3.tar.gz) = 0zOKn/+5tg7LkJhsgfJ6CaGPqGJ7W4hKeccP7n9kYes=
SIZE (logstalgia-1.0.3.tar.gz) = 841822
SHA256 (logstalgia-1.0.6.tar.gz) = qBuUdCzOZLCy0bFoPy96xtBkVgVvNTiWFTsbgYGFXzQ=
SIZE (logstalgia-1.0.6.tar.gz) = 902147

View File

@ -1,16 +1,16 @@
$OpenBSD: patch-src_logstalgia_cpp,v 1.1.1.1 2011/10/20 10:58:21 jasper Exp $
--- src/logstalgia.cpp.orig Tue Sep 20 16:54:02 2011
+++ src/logstalgia.cpp Tue Sep 20 16:54:52 2011
@@ -394,7 +394,7 @@ std::string Logstalgia::dateAtPosition(float percent)
$OpenBSD: patch-src_logstalgia_cpp,v 1.2 2014/10/22 15:02:26 gonzalo Exp $
--- src/logstalgia.cpp.orig Wed Oct 15 22:57:08 2014
+++ src/logstalgia.cpp Wed Oct 22 10:29:38 2014
@@ -391,7 +391,7 @@ std::string Logstalgia::dateAtPosition(float percent)
long timestamp = le.timestamp;
time_t timestamp = le.timestamp;
- struct tm* timeinfo = localtime ( &timestamp );
+ struct tm *timeinfo = localtime( (const time_t *)(&timestamp) );
strftime(datestr, 256, "%H:%M:%S %B %d, %Y", timeinfo);
date = std::string(datestr);
}
@@ -908,7 +908,7 @@ void Logstalgia::logic(float t, float dt) {
@@ -952,7 +952,7 @@ void Logstalgia::logic(float t, float dt) {
char datestr[256];
char timestr[256];