aboutsummaryrefslogtreecommitdiff
path: root/x11/libSM
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2010-05-24 20:09:06 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2010-05-24 20:09:06 +0000
commitec22f574bdd5d1aad6c7373e0e6f66432285d27a (patch)
tree41d6bd6fec0c3c9baf0df5d6bdcf47d0c64d1f08 /x11/libSM
parent5374952b09642999bbc6b8354c6b34b9687fd301 (diff)
downloadports-ec22f574bdd5d1aad6c7373e0e6f66432285d27a.tar.gz
ports-ec22f574bdd5d1aad6c7373e0e6f66432285d27a.zip
Notes
Diffstat (limited to 'x11/libSM')
-rw-r--r--x11/libSM/files/patch-sm_genid.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/libSM/files/patch-sm_genid.c b/x11/libSM/files/patch-sm_genid.c
new file mode 100644
index 000000000000..a74e4965ca88
--- /dev/null
+++ b/x11/libSM/files/patch-sm_genid.c
@@ -0,0 +1,11 @@
+--- src/sm_genid.c.orig 2010-05-24 14:21:20.000000000 -0400
++++ src/sm_genid.c 2010-05-24 14:21:44.000000000 -0400
+@@ -98,7 +98,7 @@
+
+ if ((id = malloc (strlen (temp) + 2)) != NULL)
+ {
+- id[1] = '2';
++ id[0] = '2';
+ strcpy (id+1, temp);
+ }
+