pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/icewm



Module Name:    pkgsrc
Committed By:   mrg
Date:           Sat Oct  1 20:40:06 UTC 2016

Modified Files:
        pkgsrc/wm/icewm: Makefile.common distinfo
Added Files:
        pkgsrc/wm/icewm/patches: patch-src_wmapp.cc

Log Message:
fix unaligned issues on sparc64: don't pass pid_t, but a long, to
XChangeProperty().  PR#37559

bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/wm/icewm/Makefile.common
cvs rdiff -u -r1.40 -r1.41 pkgsrc/wm/icewm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/icewm/patches/patch-src_wmapp.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/icewm/Makefile.common
diff -u pkgsrc/wm/icewm/Makefile.common:1.68 pkgsrc/wm/icewm/Makefile.common:1.69
--- pkgsrc/wm/icewm/Makefile.common:1.68        Sun Jul 24 20:12:34 2016
+++ pkgsrc/wm/icewm/Makefile.common     Sat Oct  1 20:40:06 2016
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile.common,v 1.68 2016/07/24 20:12:34 rillig Exp $
+# $NetBSD: Makefile.common,v 1.69 2016/10/01 20:40:06 mrg Exp $
 #
 # used by wm/icewm/Makefile
 # used by wm/icewm-imlib/Makefile
 
 DISTNAME=              icewm-1.2.38pre2
+PKGREVISION=           1
 CATEGORIES=            x11 wm
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=icewm/}
 

Index: pkgsrc/wm/icewm/distinfo
diff -u pkgsrc/wm/icewm/distinfo:1.40 pkgsrc/wm/icewm/distinfo:1.41
--- pkgsrc/wm/icewm/distinfo:1.40       Mon Nov  2 23:42:52 2015
+++ pkgsrc/wm/icewm/distinfo    Sat Oct  1 20:40:06 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2015/11/02 23:42:52 agc Exp $
+$NetBSD: distinfo,v 1.41 2016/10/01 20:40:06 mrg Exp $
 
 SHA1 (icewm-1.2.38pre2.tar.gz) = e0fa0ac454c8a7bbe850f114e9a0a82082516da3
 RMD160 (icewm-1.2.38pre2.tar.gz) = e2b3fefdae7e1d368920e84d175058e3fe7c8d93
@@ -10,5 +10,6 @@ SHA1 (patch-aj) = aa357c56d3165f36a34713
 SHA1 (patch-ak) = 8f96d98019071522cd8a9196a029842410e4ede1
 SHA1 (patch-src_apppstatus.cc) = ea685b05bdcc7169b8f830409c4948c7ee9092a3
 SHA1 (patch-src_base.h) = cd869fd68b2d169fcded97662212e7eccee9c83c
+SHA1 (patch-src_wmapp.cc) = ce76173aac533a2555c57555de1335d047c14b10
 SHA1 (patch-src_yarray.h) = c1e96402396bf6120a286e01c57b7202b4a3b9fb
 SHA1 (patch-src_ypixbuf.cc) = 6ecc2f9b76a2bf0589ae9ea98733f61a49f9afd1

Added files:

Index: pkgsrc/wm/icewm/patches/patch-src_wmapp.cc
diff -u /dev/null pkgsrc/wm/icewm/patches/patch-src_wmapp.cc:1.1
--- /dev/null   Sat Oct  1 20:40:07 2016
+++ pkgsrc/wm/icewm/patches/patch-src_wmapp.cc  Sat Oct  1 20:40:06 2016
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_wmapp.cc,v 1.1 2016/10/01 20:40:06 mrg Exp $
+
+Avoid passing 4-byte aligned data to 8-byte aligned needing functions.
+
+--- src/wmapp.cc.orig  2009-11-08 10:59:46.000000000 -0800
++++ src/wmapp.cc       2016-10-01 13:14:03.000000000 -0700
+@@ -219,6 +219,7 @@
+ #endif
+ 
+     pid_t pid = getpid();
++    long lpid = (long)pid;
+     const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")";
+ 
+ #ifdef GNOME1_HINTS
+@@ -238,7 +239,7 @@
+ 
+     XChangeProperty(xapp->display(), xid,
+                     _XA_NET_WM_PID, XA_CARDINAL, 32,
+-                    PropModeReplace, (unsigned char *)&pid, 1);
++                    PropModeReplace, (unsigned char *)&lpid, 1);
+ 
+     XChangeProperty(xapp->display(), xid,
+                     _XA_NET_WM_NAME, XA_STRING, 8,



Home | Main Index | Thread Index | Old Index