pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libSM fix botch in client ID generation if the (BS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4940a2c4364a
branches: trunk
changeset: 399731:4940a2c4364a
user: drochner <drochner%pkgsrc.org@localhost>
date: Mon Sep 28 12:38:50 2009 +0000
description:
fix botch in client ID generation if the (BSD) uuid functions are used,
it caused the first character of the ID to be random, and for me this
crashed XFCE4 sessions through a somewhat complex chain involving
a consistency check in dbus-glib signal generation
bump PKGREVISION
diffstat:
x11/libSM/Makefile | 3 ++-
x11/libSM/distinfo | 3 ++-
x11/libSM/patches/patch-aa | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r d828f9fb53ad -r 4940a2c4364a x11/libSM/Makefile
--- a/x11/libSM/Makefile Mon Sep 28 11:29:32 2009 +0000
+++ b/x11/libSM/Makefile Mon Sep 28 12:38:50 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2009/08/09 00:18:06 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2009/09/28 12:38:50 drochner Exp $
#
DISTNAME= libSM-1.1.1
+PKGREVISION= 1
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
diff -r d828f9fb53ad -r 4940a2c4364a x11/libSM/distinfo
--- a/x11/libSM/distinfo Mon Sep 28 11:29:32 2009 +0000
+++ b/x11/libSM/distinfo Mon Sep 28 12:38:50 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2009/08/09 00:18:06 wiz Exp $
+$NetBSD: distinfo,v 1.6 2009/09/28 12:38:50 drochner Exp $
SHA1 (libSM-1.1.1.tar.bz2) = dc535af7328dee9a6121b85c3f8041656681a195
RMD160 (libSM-1.1.1.tar.bz2) = 18aba022ccfbe842d025bf66c30a9f56510475f2
Size (libSM-1.1.1.tar.bz2) = 262305 bytes
+SHA1 (patch-aa) = 9bc21232bb9c26607932f2eb1f26d5eac298c3c9
diff -r d828f9fb53ad -r 4940a2c4364a x11/libSM/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libSM/patches/patch-aa Mon Sep 28 12:38:50 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/09/28 12:38:50 drochner Exp $
+
+--- src/sm_genid.c.orig 2009-09-28 14:06:35.000000000 +0200
++++ src/sm_genid.c
+@@ -98,7 +98,7 @@ SmsGenerateClientID(SmsConn smsConn)
+
+ if ((id = malloc (strlen (temp) + 2)) != NULL)
+ {
+- id[1] = '2';
++ id[0] = '2';
+ strcpy (id+1, temp);
+ }
+
Home |
Main Index |
Thread Index |
Old Index