xtrans 1.2.2

This commit is contained in:
Adam Jackson 2008-12-09 15:25:39 +00:00
parent 53c7323d35
commit 5126987457
5 changed files with 13 additions and 20 deletions

View File

@ -1 +1 @@
xtrans-1.1.tar.bz2
xtrans-1.2.2.tar.bz2

1
import.log Normal file
View File

@ -0,0 +1 @@
xorg-x11-xtrans-devel-1_2_2-1_fc11:HEAD:xorg-x11-xtrans-devel-1.2.2-1.fc11.src.rpm:1228836319

View File

@ -1 +1 @@
96e142331edd498a9364887b2548f1bb xtrans-1.2.1.tar.bz2
a97ac902d84578337057c8603b729494 xtrans-1.2.2.tar.bz2

View File

@ -5,12 +5,13 @@
Summary: X.Org X11 developmental X transport library
Name: xorg-x11-xtrans-devel
Version: 1.2.1
Release: 2%{?dist}
Version: 1.2.2
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Source0: http://xorg.freedesktop.org/archive/individual/lib/xtrans-%{version}.tar.bz2
Patch1: xtrans-1.0.3-avoid-gethostname.patch
@ -29,7 +30,8 @@ X.Org X11 developmental X transport library
%build
%configure
# yes, this looks horrible, but it's to get the .pc file in datadir
%configure --libdir=%{_datadir}
# Running 'make' not needed.
%install
@ -47,18 +49,20 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_includedir}/X11/Xtrans
%{_includedir}/X11/Xtrans/Xtrans.c
%{_includedir}/X11/Xtrans/Xtrans.h
%{_includedir}/X11/Xtrans/Xtransdnet.c
%{_includedir}/X11/Xtrans/Xtransint.h
%{_includedir}/X11/Xtrans/Xtranslcl.c
%{_includedir}/X11/Xtrans/Xtransos2.c
%{_includedir}/X11/Xtrans/Xtranssock.c
%{_includedir}/X11/Xtrans/Xtranstli.c
%{_includedir}/X11/Xtrans/Xtransutil.c
%{_includedir}/X11/Xtrans/transport.c
%{_libdir}/pkgconfig/xtrans.pc
%{_datadir}/aclocal/xtrans.m4
%{_datadir}/pkgconfig/xtrans.pc
%changelog
* Tue Dec 09 2008 Adam Jackson <ajax@redhat.com> 1.2.2-1
- xtrans 1.2.2
- Move to BuildArch: noarch.
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.2.1-2
- Fix license tag.

View File

@ -1,12 +0,0 @@
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);