[Lsb-messages] /var/www/bzr/lsb/devel/appbat r972: Patch alsaplayer build for fd_set move (include sys/select.h 3 places)

Stew Benedict stewb at linux-foundation.org
Tue Feb 5 21:24:59 UTC 2013


------------------------------------------------------------
revno: 972
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: appbat
timestamp: Tue 2013-02-05 16:24:59 -0500
message:
  Patch alsaplayer build for fd_set move (include sys/select.h 3 places)
added:
  patches/alsaplayer-0.99.80.lsb5.patch
modified:
  rpm/lsb-alsaplayer.spec.in
-------------- next part --------------
=== added file 'patches/alsaplayer-0.99.80.lsb5.patch'
--- a/patches/alsaplayer-0.99.80.lsb5.patch	1970-01-01 00:00:00 +0000
+++ b/patches/alsaplayer-0.99.80.lsb5.patch	2013-02-05 21:24:59 +0000
@@ -0,0 +1,30 @@
+--- ./app/ControlSocket.cpp.lsb5	2007-07-08 10:27:31.000000000 -0400
++++ ./app/ControlSocket.cpp	2013-02-05 16:15:26.009087824 -0500
+@@ -25,6 +25,7 @@
+ #include <sys/stat.h>
+ #include <sys/socket.h>
+ #include <sys/time.h>
++#include <sys/select.h>
+ #include <sys/un.h>
+ #include <csignal>
+ #include <pwd.h>
+--- ./reader/http/http.c.lsb5	2013-02-05 16:16:32.534087853 -0500
++++ ./reader/http/http.c	2013-02-05 16:16:47.880087857 -0500
+@@ -31,6 +31,7 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <sys/time.h>
++#include <sys/select.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <errno.h>
+--- ./interface/daemon/daemon.cpp.lsb5	2007-07-08 11:56:12.000000000 -0400
++++ ./interface/daemon/daemon.cpp	2013-02-05 16:15:26.009087824 -0500
+@@ -33,6 +33,7 @@
+ #include <sys/stat.h>
+ #include <sys/time.h>
+ #include <sys/ioctl.h>
++#include <sys/select.h>
+ #include <fcntl.h>
+ #include <dlfcn.h>
+ #include <cmath>

=== modified file 'rpm/lsb-alsaplayer.spec.in'
--- a/rpm/lsb-alsaplayer.spec.in	2012-06-08 20:20:19 +0000
+++ b/rpm/lsb-alsaplayer.spec.in	2013-02-05 21:24:59 +0000
@@ -1,7 +1,7 @@
 Summary: PCM audio player for Linux and compatible OSes
 Name: lsb-alsaplayer
 Version: 0.99.80 
-Release: 11.lsb5
+Release: 12.lsb5
 Vendor: Linux Foundation
 Packager: Appbat Team <lsb-appbat at linux-foundation.org>
 License: GPL
@@ -15,6 +15,7 @@
 Source0: http://www.alsaplayer.org/alsaplayer-%{version}.tar.bz2
 Source1: alsaplayer.png
 Patch0: alsaplayer-%{version}.patch
+Patch1: alsaplayer-%{version}.lsb5.patch
 
 %description
 LSB conforming version of alsaplayer.
@@ -27,6 +28,7 @@
 %prep
 %setup -q -n alsaplayer-%{version}
 %patch0 -p0 -b .lsbcc
+%patch1 -p0 -b .lsb5
 
 %build
 # common environment settings



More information about the lsb-messages mailing list