Witam.
W załączniku przesyłam poprawionego speca pakietu lash oraz patcha, dzięki 
któremu lash się buduje. Proszę o wrzucenie poprawek do repozytorium, 
ewentualnie o uwagi co poprawić.

-- 
Pozdrawiam
Krzysztof Mościcki
--- lash.spec.in	2009-11-19 11:45:49.175836591 +0100
+++ lash.spec	2009-11-19 11:54:59.705777584 +0100
@@ -9,6 +9,7 @@
 Source0:	http://download.savannah.gnu.org/releases/lash/%{name}-%{version}.tar.gz
 # Source0-md5:	8eeb7e91f9127d7d9fc6ec076cbe14ed
 Patch0:		%{name}-link.patch
+Patch1:		%{name}-netdb.patch
 URL:		http://lash.nongnu.org/
 BuildRequires:	/usr/bin/texi2html
 BuildRequires:	alsa-lib-devel >= 0.9
@@ -102,6 +103,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -133,7 +135,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README README.SECURITY TODO docs/lash-manual-html-split/lash-manual
+%doc AUTHORS ChangeLog NEWS README README.SECURITY TODO docs/lash-manual-html-split/lash-manual*
 %attr(755,root,root) %{_bindir}/lash_control
 %attr(755,root,root) %{_bindir}/lash_simple_client
 %attr(755,root,root) %{_bindir}/lash_synth
@@ -148,6 +150,7 @@
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/liblash.so.*.*.*
+%attr(755,root,root) %{_libdir}/liblash.so.1
 
 %files devel
 %defattr(644,root,root,755)
diff -Nur -x '*.orig' -x '*~' lash-0.5.4/liblash/socket.c lash-0.5.4.new/liblash/socket.c
--- lash-0.5.4/liblash/socket.c	2006-09-16 21:25:31.000000000 +0200
+++ lash-0.5.4.new/liblash/socket.c	2009-03-31 19:54:05.000000000 +0200
@@ -23,6 +23,7 @@
 #include <stdint.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#define __USE_MISC
 #include <netdb.h>
 #include <string.h>
 #include <stdlib.h>
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym