diff --git a/xorg-x11-xtrans-devel.spec b/xorg-x11-xtrans-devel.spec index 29fa693..3ef0da2 100644 --- a/xorg-x11-xtrans-devel.spec +++ b/xorg-x11-xtrans-devel.spec @@ -26,6 +26,7 @@ X.Org X11 developmental X transport library %prep %setup -q -n xtrans-%{version} %patch1 -p1 -b .my-name-is-unix +%patch2 -p1 -b .abstract-doesn't-need-mkdir %build @@ -59,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/xtrans.m4 %changelog +* Tue May 06 2008 Bill Nottingham 1.1-2 +- xtrans-1.1-abstract.patch: Don't worry about making /tmp/.X11-unix + (or failure to do so) if you're using an abstract socket (#445303) + * Wed Mar 05 2008 Adam Jackson 1.1-1 - xtrans 1.1 diff --git a/xtrans-1.1-abstract.patch b/xtrans-1.1-abstract.patch new file mode 100644 index 0000000..df898d6 --- /dev/null +++ b/xtrans-1.1-abstract.patch @@ -0,0 +1,12 @@ +diff -up xtrans-1.1/Xtranssock.c.foo xtrans-1.1/Xtranssock.c +--- xtrans-1.1/Xtranssock.c.foo 2008-05-06 13:48:07.000000000 -0400 ++++ xtrans-1.1/Xtranssock.c 2008-05-06 13:47:51.000000000 -0400 +@@ -1148,7 +1148,7 @@ TRANS(SocketUNIXCreateListener) (XtransC + #else + mode = 0777; + #endif +- if (trans_mkdir(UNIX_DIR, mode) == -1) { ++ if (!abstract && trans_mkdir(UNIX_DIR, mode) == -1) { + PRMSG (1, "SocketUNIXCreateListener: mkdir(%s) failed, errno = %d\n", + UNIX_DIR, errno, 0); + (void) umask (oldUmask);