pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/mrxvt Fix strict aligment issue. While here, updat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1aeef5d828cf
branches: trunk
changeset: 646445:1aeef5d828cf
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Feb 08 18:12:49 2015 +0000
description:
Fix strict aligment issue. While here, update homepage.
diffstat:
x11/mrxvt/Makefile | 4 ++--
x11/mrxvt/distinfo | 4 +++-
x11/mrxvt/patches/patch-src_init.c | 15 +++++++++++++++
x11/mrxvt/patches/patch-src_transparent.c | 24 ++++++++++++++++++++++++
4 files changed, 44 insertions(+), 3 deletions(-)
diffs (80 lines):
diff -r 8f6e98a7ff9e -r 1aeef5d828cf x11/mrxvt/Makefile
--- a/x11/mrxvt/Makefile Sun Feb 08 18:06:10 2015 +0000
+++ b/x11/mrxvt/Makefile Sun Feb 08 18:12:49 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2014/10/09 14:07:15 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2015/02/08 18:12:49 tnn Exp $
#
DISTNAME= mrxvt-0.5.4
@@ -9,7 +9,7 @@
PATCHFILES= mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://materm.sourceforge.net/
+HOMEPAGE= https://code.google.com/p/mrxvt/
COMMENT= Multi-tabbed terminal emulator with Xft support
GNU_CONFIGURE= YES
diff -r 8f6e98a7ff9e -r 1aeef5d828cf x11/mrxvt/distinfo
--- a/x11/mrxvt/distinfo Sun Feb 08 18:06:10 2015 +0000
+++ b/x11/mrxvt/distinfo Sun Feb 08 18:12:49 2015 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/01/17 21:28:09 tnn Exp $
+$NetBSD: distinfo,v 1.9 2015/02/08 18:12:49 tnn Exp $
SHA1 (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 62b1d128f71e463dd38239efa4d5bc0daa77e9cf
RMD160 (mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch) = 039929a83065055abfe29e239d7760390bb54a6b
@@ -7,3 +7,5 @@
RMD160 (mrxvt-0.5.4.tar.gz) = 175ce5c554c267ada4efde18e22704ff1b688dac
Size (mrxvt-0.5.4.tar.gz) = 603978 bytes
SHA1 (patch-aa) = 809be5640f60ccc8238c2b851056fd520426f6b1
+SHA1 (patch-src_init.c) = 358b46b1c03ef3cdf62b964ca435db7987c9c33d
+SHA1 (patch-src_transparent.c) = 09229a237dfc2fef6c6d76f75270ead5c75521e1
diff -r 8f6e98a7ff9e -r 1aeef5d828cf x11/mrxvt/patches/patch-src_init.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mrxvt/patches/patch-src_init.c Sun Feb 08 18:12:49 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_init.c,v 1.1 2015/02/08 18:12:49 tnn Exp $
+
+Fix strict alignment SIGBUS
+
+--- src/init.c.orig 2008-06-13 19:08:13.000000000 +0000
++++ src/init.c
+@@ -3239,7 +3239,7 @@ rxvt_create_show_windows( rxvt_t *r, int
+ XGCValues gcvalue;
+ unsigned long gcmask;
+ #ifndef NO_FRILLS
+- CARD32 pid = (CARD32) getpid ();
++ CARD64 pid = (CARD64) getpid ();
+ #endif
+ #ifdef TRANSPARENT
+ register int i;
diff -r 8f6e98a7ff9e -r 1aeef5d828cf x11/mrxvt/patches/patch-src_transparent.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mrxvt/patches/patch-src_transparent.c Sun Feb 08 18:12:49 2015 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_transparent.c,v 1.1 2015/02/08 18:12:49 tnn Exp $
+
+Fix strict aligment SIGBUS
+
+--- src/transparent.c.orig 2008-02-17 22:04:50.000000000 +0000
++++ src/transparent.c
+@@ -56,7 +56,7 @@ rxvt_set_opacity (rxvt_t* r)
+ Window wintree[PARENT_NUMBER];
+ Window root;
+ Window* list;
+- CARD32 opacity;
++ CARD64 opacity;
+
+
+ /* do not set opacity */
+@@ -71,7 +71,7 @@ rxvt_set_opacity (rxvt_t* r)
+ XSetWindowBackground(r->Xdisplay, r->TermWin.parent, VTBG(r,0) );
+ #endif
+
+- opacity = (CARD32) (r->TermWin.opacity * (0xffffffff / 100));
++ opacity = (CARD64) (r->TermWin.opacity * (0xffffffff / 100));
+
+ /*
+ ** look for parent tree of top level window because the window
Home |
Main Index |
Thread Index |
Old Index