[Lsb-messages] /var/www/bzr/lsb/4.1/t2c-alsa-tests r118: Backport build fixes (need unistd.h) from devel
Stew Benedict
stewb at linux-foundation.org
Tue Feb 5 12:51:42 UTC 2013
------------------------------------------------------------
revno: 118
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: t2c-alsa-tests
timestamp: Tue 2013-02-05 07:51:42 -0500
message:
Backport build fixes (need unistd.h) from devel
added:
package/alsa-t2c-test-fix-t2c-unistd.patch
modified:
package/Makefile
package/lsb-test-alsa-t2c.spec.sed
-------------- next part --------------
=== modified file 'package/Makefile'
--- a/package/Makefile 2011-04-06 19:25:30 +0000
+++ b/package/Makefile 2013-02-05 12:51:42 +0000
@@ -2,7 +2,7 @@
# XXX a specfile from this info, but not yet: for now keep in sync
PACKAGE=lsb-test-alsa-t2c
VERSION=4.1.0
-RELEASE=2
+RELEASE=3
T2C_2_VER=2.0.0_final
# for pkgchk
=== added file 'package/alsa-t2c-test-fix-t2c-unistd.patch'
--- a/package/alsa-t2c-test-fix-t2c-unistd.patch 1970-01-01 00:00:00 +0000
+++ b/package/alsa-t2c-test-fix-t2c-unistd.patch 2013-02-05 12:51:42 +0000
@@ -0,0 +1,11 @@
+diff -up ./src/t2c.c.unistd ./src/t2c.c
+--- ./src/t2c.c.unistd 2013-02-05 07:41:00.707965271 -0500
++++ ./src/t2c.c 2013-02-05 07:41:26.317965283 -0500
+@@ -18,6 +18,7 @@
+ // limitations under the License.
+ /////////////////////////////////////////////////////////////////////////////
+
++#include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
=== modified file 'package/lsb-test-alsa-t2c.spec.sed'
--- a/package/lsb-test-alsa-t2c.spec.sed 2011-04-06 19:25:30 +0000
+++ b/package/lsb-test-alsa-t2c.spec.sed 2013-02-05 12:51:42 +0000
@@ -15,6 +15,7 @@
Source: %{name}-%{version}.src.tgz
# T2C_2_VER from the Makefile too
Source1: t2c- at T2C_2_VER@.tar.bz2
+Patch0: alsa-t2c-test-fix-t2c-unistd.patch
URL: http://www.linuxfoundation.org/bzr/devel/t2c-alsa-tests
BuildRoot: %{_tmppath}/%{name}-root
AutoReqProv: no
@@ -29,6 +30,9 @@
#==================================================
%prep
%setup -q -a1
+cd t2c- at T2C_2_VER@
+%patch0 -p0 -b .unistd
+cd -
#==================================================
%build
@@ -91,5 +95,8 @@
#==================================================
%changelog
+* Tue Feb 05 2013 Stew Benedict <stewb at linux-foundation.org>
+- patch t2c.c (include unistd.h, P0)
+
* Wed Mar 10 2010 Stew Benedict <stewb at linux-foundation.org>
- initial package
More information about the lsb-messages
mailing list