diff options
author | drochner <drochner@pkgsrc.org> | 2009-09-28 12:38:50 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-09-28 12:38:50 +0000 |
commit | 9e528ffeb4919e3094f6f47f6551281b01a044d6 (patch) | |
tree | 3ffe60f68c8921a98522aed2a3d3345aa8d6db99 /x11/libSM | |
parent | 5b75156ec1db21e2e335094af519a2655dee18d1 (diff) | |
download | pkgsrc-9e528ffeb4919e3094f6f47f6551281b01a044d6.tar.gz |
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 (limited to 'x11/libSM')
-rw-r--r-- | x11/libSM/Makefile | 3 | ||||
-rw-r--r-- | x11/libSM/distinfo | 3 | ||||
-rw-r--r-- | x11/libSM/patches/patch-aa | 13 |
3 files changed, 17 insertions, 2 deletions
diff --git a/x11/libSM/Makefile b/x11/libSM/Makefile index 4d5ec9652bc..51ff722d17c 100644 --- a/x11/libSM/Makefile +++ b/x11/libSM/Makefile @@ -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 --git a/x11/libSM/distinfo b/x11/libSM/distinfo index 7a4e8fd6b9c..6af0c373382 100644 --- a/x11/libSM/distinfo +++ b/x11/libSM/distinfo @@ -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 --git a/x11/libSM/patches/patch-aa b/x11/libSM/patches/patch-aa new file mode 100644 index 00000000000..0202f89f29e --- /dev/null +++ b/x11/libSM/patches/patch-aa @@ -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); + } + |