diff options
author | tnn <tnn@pkgsrc.org> | 2015-02-08 18:12:49 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-02-08 18:12:49 +0000 |
commit | 18d09b04a536a05a06eea11ba66edd4920e53147 (patch) | |
tree | d89867958968b1e275c3b05755cae8ac5d5696a3 /x11 | |
parent | 94a44770315df7acf6fdc6d2da57960084382daa (diff) | |
download | pkgsrc-18d09b04a536a05a06eea11ba66edd4920e53147.tar.gz |
Fix strict aligment issue. While here, update homepage.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/mrxvt/Makefile | 4 | ||||
-rw-r--r-- | x11/mrxvt/distinfo | 4 | ||||
-rw-r--r-- | x11/mrxvt/patches/patch-src_init.c | 15 | ||||
-rw-r--r-- | x11/mrxvt/patches/patch-src_transparent.c | 24 |
4 files changed, 44 insertions, 3 deletions
diff --git a/x11/mrxvt/Makefile b/x11/mrxvt/Makefile index 757a5f5e280..56967422a93 100644 --- a/x11/mrxvt/Makefile +++ b/x11/mrxvt/Makefile @@ -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 @@ PATCH_SITES= ${MASTER_SITES} PATCHFILES= mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://materm.sourceforge.net/ +HOMEPAGE= https://code.google.com/p/mrxvt/ COMMENT= Multi-tabbed terminal emulator with Xft support GNU_CONFIGURE= YES diff --git a/x11/mrxvt/distinfo b/x11/mrxvt/distinfo index 203d5565667..a4e0b595876 100644 --- a/x11/mrxvt/distinfo +++ b/x11/mrxvt/distinfo @@ -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 @@ SHA1 (mrxvt-0.5.4.tar.gz) = f50e9ad2f652d4212b0ac5241b919372d9e43744 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 --git a/x11/mrxvt/patches/patch-src_init.c b/x11/mrxvt/patches/patch-src_init.c new file mode 100644 index 00000000000..7ecda312fd4 --- /dev/null +++ b/x11/mrxvt/patches/patch-src_init.c @@ -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 --git a/x11/mrxvt/patches/patch-src_transparent.c b/x11/mrxvt/patches/patch-src_transparent.c new file mode 100644 index 00000000000..aace6cc9c42 --- /dev/null +++ b/x11/mrxvt/patches/patch-src_transparent.c @@ -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 |