packages: tslib/tslib.spec, tslib/tslib-open.patch (NEW) - open patch to fi...
tommat
tommat at pld-linux.org
Tue Sep 15 10:53:26 CEST 2009
Author: tommat Date: Tue Sep 15 08:53:26 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- open patch to fix building
- ghost soname symlink
---- Files affected:
packages/tslib:
tslib.spec (1.3 -> 1.4) , tslib-open.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/tslib/tslib.spec
diff -u packages/tslib/tslib.spec:1.3 packages/tslib/tslib.spec:1.4
--- packages/tslib/tslib.spec:1.3 Tue Feb 13 09:06:44 2007
+++ packages/tslib/tslib.spec Tue Sep 15 10:53:21 2009
@@ -8,6 +8,7 @@
Group: Libraries
Source0: http://download.berlios.de/tslib/%{name}-%{version}.tar.bz2
# Source0-md5: 92b2eb55b1e4ef7e2c0347069389390e
+Patch0: %{name}-open.patch
URL: http://tslib.berlios.de/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
@@ -63,6 +64,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -93,6 +95,7 @@
%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/ts_*
%attr(755,root,root) %{_libdir}/libts-*.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libts-*.so.?
%dir %{_libdir}/ts
%attr(755,root,root) %{_libdir}/ts/*.so
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ts.conf
@@ -114,6 +117,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2009/09/15 08:53:21 tommat
+- open patch to fix building
+- ghost soname symlink
+
Revision 1.3 2007/02/13 08:06:44 glen
- tabs in preamble
================================================================
Index: packages/tslib/tslib-open.patch
diff -u /dev/null packages/tslib/tslib-open.patch:1.1
--- /dev/null Tue Sep 15 10:53:26 2009
+++ packages/tslib/tslib-open.patch Tue Sep 15 10:53:21 2009
@@ -0,0 +1,15 @@
+diff -Nur tslib-1.0/tests/ts_calibrate.c tslib-1.0.orig/tests/ts_calibrate.c
+--- tslib-1.0.orig/tests/ts_calibrate.c 2006-08-24 23:02:55.000000000 +0200
++++ tslib-1.0/tests/ts_calibrate.c 2009-09-15 10:47:14.000000000 +0200
+@@ -224,9 +224,9 @@
+ for (i = 0; i < 7; i++) printf("%d ", cal.a [i]);
+ printf("\n");
+ if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) {
+- cal_fd = open (calfile, O_CREAT | O_RDWR);
++ cal_fd = open (calfile, O_CREAT | O_RDWR, 0644);
+ } else {
+- cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR);
++ cal_fd = open ("/etc/pointercal", O_CREAT | O_RDWR, 0644);
+ }
+ sprintf (cal_buffer,"%d %d %d %d %d %d %d",
+ cal.a[1], cal.a[2], cal.a[0],
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tslib/tslib.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list