packages: lash/lash.spec, lash/lash-netdb.patch (NEW) - build fix, by Krzys...

jajcus jajcus at pld-linux.org
Fri Nov 27 20:37:16 CET 2009


Author: jajcus                       Date: Fri Nov 27 19:37:16 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build fix, by Krzysztof Mościcki

---- Files affected:
packages/lash:
   lash.spec (1.2 -> 1.3) , lash-netdb.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lash/lash.spec
diff -u packages/lash/lash.spec:1.2 packages/lash/lash.spec:1.3
--- packages/lash/lash.spec:1.2	Thu Dec 27 01:22:52 2007
+++ packages/lash/lash.spec	Fri Nov 27 20:37:11 2009
@@ -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.*.*.*
+%ghost %attr(755,root,root) %{_libdir}/liblash.so.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -171,6 +174,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/11/27 19:37:11  jajcus
+- build fix, by Krzysztof Mościcki
+
 Revision 1.2  2007/12/27 00:22:52  zbyniu
 - up to 0.5.4
 

================================================================
Index: packages/lash/lash-netdb.patch
diff -u /dev/null packages/lash/lash-netdb.patch:1.1
--- /dev/null	Fri Nov 27 20:37:16 2009
+++ packages/lash/lash-netdb.patch	Fri Nov 27 20:37:11 2009
@@ -0,0 +1,11 @@
+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>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lash/lash.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list