pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/mlterm Correct size of framebuffer for luna68k; pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a45e958e79c
branches:  trunk
changeset: 340080:2a45e958e79c
user:      rin <rin%pkgsrc.org@localhost>
date:      Sun Sep 22 06:17:30 2019 +0000

description:
Correct size of framebuffer for luna68k; page offset appears only once,
not every color depths.

Bump PKGREVISION.

Pointed out by Araki Ken, the author of mlterm. Thanks!

diffstat:

 x11/mlterm/Makefile                                         |  4 ++--
 x11/mlterm/distinfo                                         |  4 ++--
 x11/mlterm/patches/patch-uitoolkit_fb_ui__display__wscons.c |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 11062f8fb112 -r 2a45e958e79c x11/mlterm/Makefile
--- a/x11/mlterm/Makefile       Sun Sep 22 05:43:45 2019 +0000
+++ b/x11/mlterm/Makefile       Sun Sep 22 06:17:30 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.151 2019/07/26 23:28:43 rin Exp $
+# $NetBSD: Makefile,v 1.152 2019/09/22 06:17:30 rin Exp $
 
 DISTNAME=      mlterm-3.8.8
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mlterm/}
 
diff -r 11062f8fb112 -r 2a45e958e79c x11/mlterm/distinfo
--- a/x11/mlterm/distinfo       Sun Sep 22 05:43:45 2019 +0000
+++ b/x11/mlterm/distinfo       Sun Sep 22 06:17:30 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.80 2019/08/09 12:03:17 rin Exp $
+$NetBSD: distinfo,v 1.81 2019/09/22 06:17:30 rin Exp $
 
 SHA1 (mlterm-3.8.8.tar.gz) = 54f40fa50214656ab70f592d5d58805b1dfdc1c6
 RMD160 (mlterm-3.8.8.tar.gz) = 9a7675a86999541b57742099a5e9eac8a539b580
@@ -10,6 +10,6 @@
 SHA1 (patch-uitoolkit_fb_ui__display.c) = 15dbae082a13d5a4c5f22675914631da5494e6a6
 SHA1 (patch-uitoolkit_fb_ui__display__freebsd.c) = 3cb80b0564be184cf992ea54141183395c4cd39b
 SHA1 (patch-uitoolkit_fb_ui__display__linux.c) = 5dd0d30d579f42036066acb8c42db51045ac712f
-SHA1 (patch-uitoolkit_fb_ui__display__wscons.c) = f569f04665380d9696fc955601bef94333dd80a1
+SHA1 (patch-uitoolkit_fb_ui__display__wscons.c) = 6ea6aec8cd72999874c9fb26a099d3b09ba91bb6
 SHA1 (patch-uitoolkit_fb_ui__display__x68kgrf.c) = 51ba1b5124fd6cb654e9c87fa289b06170429f92
 SHA1 (patch-uitoolkit_ui__event__source.c) = 4cf872768491bc8da5fc080cfd3a50969324a162
diff -r 11062f8fb112 -r 2a45e958e79c x11/mlterm/patches/patch-uitoolkit_fb_ui__display__wscons.c
--- a/x11/mlterm/patches/patch-uitoolkit_fb_ui__display__wscons.c       Sun Sep 22 05:43:45 2019 +0000
+++ b/x11/mlterm/patches/patch-uitoolkit_fb_ui__display__wscons.c       Sun Sep 22 06:17:30 2019 +0000
@@ -7,7 +7,7 @@
 https://bitbucket.org/arakiken/mlterm/pull-requests/5/fix-for-wscons-framebuffer/diff
 
 --- uitoolkit/fb/ui_display_wscons.c.orig      2019-03-31 22:10:47.000000000 +0900
-+++ uitoolkit/fb/ui_display_wscons.c   2019-07-26 21:54:53.421920873 +0900
++++ uitoolkit/fb/ui_display_wscons.c   2019-09-22 15:10:00.573589888 +0900
 @@ -260,6 +260,7 @@ static int open_display(u_int depth /* u
  #ifdef WSDISPLAYIO_GET_FBINFO
    struct wsdisplayio_fbinfo vinfo2;
@@ -52,7 +52,7 @@
      u_int plane;
  
 -    _display.smem_len = 0x40000 * _disp.depth;
-+    _display.smem_len = (fboffset + 0x40000) * _disp.depth;
++    _display.smem_len = fboffset + 0x40000 * _disp.depth;
  
      for (plane = 0; plane < _disp.depth; plane++) {
        _display.plane_offset[plane] = 0x40000 * plane;



Home | Main Index | Thread Index | Old Index