public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mgorny:master commit in: media-video/stk11xx/files/, media-video/stk11xx/
@ 2011-02-04 23:43 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2011-02-04 23:43 UTC (permalink / raw
  To: gentoo-commits

commit:     74c7885eeb2081287905702627e8f6af65780cd2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 23:42:36 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 23:42:36 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=74c7885e

media-video/stk11xx: Add a patch to fix building against 2.6.37 kernel.

(Portage version: 2.2.0_alpha19_p84/git/Linux x86_64, signed Manifest commit with key 05DE07BB)

---
 media-video/stk11xx/Manifest                   |   11 ++++++-----
 media-video/stk11xx/files/stk11xx-2.6.37.patch |   16 ++++++++++++++++
 media-video/stk11xx/stk11xx-9999.ebuild        |    6 +++++-
 3 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/media-video/stk11xx/Manifest b/media-video/stk11xx/Manifest
index c5cfbe1..6061735 100644
--- a/media-video/stk11xx/Manifest
+++ b/media-video/stk11xx/Manifest
@@ -1,12 +1,13 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-EBUILD stk11xx-9999.ebuild 690 RMD160 e364c019bc89b217e6ddd585c9277ca88c533e77 SHA1 03fbbadc9d1b42b5f5115651197aa01f5adadbcc SHA256 b3047d95e4534f09d0402a52ed05123c375dbc68c4c3dc4c1b6c4ff47c3a9dfc
+AUX stk11xx-2.6.37.patch 441 RMD160 65e53a75130414ebb1428e9ba9bb10ce15c618ad SHA1 e4dcdb2a68eff161fe9720acbbbe60e29631f06e SHA256 18b3d8156e5c913dea3505106d4be28e9d78171ebe1bb16be4f2d91bc6d0a7ae
+EBUILD stk11xx-9999.ebuild 836 RMD160 bfa47c4f0876bc4580f44e1ff91d8f51cee8d9ba SHA1 731fa5ba17e91111dc4d6da988f61804413db36c SHA256 454f03e4e3938e32e252258c35f1f8efe699e191377f1d717b86c1f95c05ae5a
 MISC metadata.xml 255 RMD160 b5f39d5799b7c36dbd279e5433753376c082afa8 SHA1 a4698c0973522834fc27ba7dc0757453338268af SHA256 fbdf23d280480a82b5640acbe75500ca6067b5f565223f62fbd525bda216b972
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAkzMRNEACgkQnGSe5QXeB7tmkgCglSDpqFfwI8+SABA1PMFDjtS8
-+XwAoK1dF3NxqylknDK4EO1IMlXC/Odz
-=tiGt
+iEYEARECAAYFAk1MjusACgkQnGSe5QXeB7uN+gCfcFpAfyHf5wcAFwBLy/omAPPP
+J7QAoJf+s7xXjKaG/CC6dWC18pipRmuq
+=2MCw
 -----END PGP SIGNATURE-----

diff --git a/media-video/stk11xx/files/stk11xx-2.6.37.patch b/media-video/stk11xx/files/stk11xx-2.6.37.patch
new file mode 100644
index 0000000..d7a8bac
--- /dev/null
+++ b/media-video/stk11xx/files/stk11xx-2.6.37.patch
@@ -0,0 +1,16 @@
+diff -ruN driver.org//stk11xx-usb.c driver/stk11xx-usb.c
+--- driver.org//stk11xx-usb.c	2011-01-06 21:51:53.674999852 +0200
++++ driver/stk11xx-usb.c	2011-01-06 21:56:44.418999851 +0200
+@@ -844,7 +844,12 @@
+ 	}
+ 
+ 	// Init mutexes, spinlock, etc.
++
++#ifndef init_MUTEX
++	sema_init(&dev->mutex,1);
++#else
+ 	init_MUTEX(&dev->mutex);
++#endif
+ 	mutex_init(&dev->modlock);
+ 	spin_lock_init(&dev->spinlock);
+ 	init_waitqueue_head(&dev->wait_frame);

diff --git a/media-video/stk11xx/stk11xx-9999.ebuild b/media-video/stk11xx/stk11xx-9999.ebuild
index e0d2222..3d79fcf 100644
--- a/media-video/stk11xx/stk11xx-9999.ebuild
+++ b/media-video/stk11xx/stk11xx-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -25,6 +25,10 @@ pkg_setup() {
 	BUILD_TARGETS="${PN}.ko"
 	BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}"
 
+	PATCHES=(
+		# http://sourceforge.net/tracker/index.php?func=detail&aid=3152597&group_id=178178&atid=884193
+		"${FILESDIR}"/${PN}-2.6.37.patch
+	)
 	MODULESD_STK11XX_DOCS=( README )
 }
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] dev/mgorny:master commit in: media-video/stk11xx/files/, media-video/stk11xx/
@ 2011-03-24 20:13 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2011-03-24 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     f23e033a6699b5796ea11688115e76765a966441
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 20:13:35 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 20:13:35 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=f23e033a

media-video/stk11xx: The 2.6.37 kernel patch has been applied upstream.

(Portage version: 2.2.0_alpha28_p7/git/Linux x86_64, signed Manifest commit with key 05DE07BB)

---
 media-video/stk11xx/Manifest                   |    9 ++++-----
 media-video/stk11xx/files/stk11xx-2.6.37.patch |   16 ----------------
 media-video/stk11xx/stk11xx-9999.ebuild        |    4 ----
 3 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/media-video/stk11xx/Manifest b/media-video/stk11xx/Manifest
index 6061735..9874a77 100644
--- a/media-video/stk11xx/Manifest
+++ b/media-video/stk11xx/Manifest
@@ -1,13 +1,12 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-AUX stk11xx-2.6.37.patch 441 RMD160 65e53a75130414ebb1428e9ba9bb10ce15c618ad SHA1 e4dcdb2a68eff161fe9720acbbbe60e29631f06e SHA256 18b3d8156e5c913dea3505106d4be28e9d78171ebe1bb16be4f2d91bc6d0a7ae
-EBUILD stk11xx-9999.ebuild 836 RMD160 bfa47c4f0876bc4580f44e1ff91d8f51cee8d9ba SHA1 731fa5ba17e91111dc4d6da988f61804413db36c SHA256 454f03e4e3938e32e252258c35f1f8efe699e191377f1d717b86c1f95c05ae5a
+EBUILD stk11xx-9999.ebuild 690 RMD160 7bac8cdfb51f1d4a318f6023d6e71fde4a28aff2 SHA1 95bdefd706e8b661bc467a56ca8696d0600c832b SHA256 dc85e3a68708cba3a9fa3f3221bb38bf071fd5464ecd7d690dddf4a1b1486ebb
 MISC metadata.xml 255 RMD160 b5f39d5799b7c36dbd279e5433753376c082afa8 SHA1 a4698c0973522834fc27ba7dc0757453338268af SHA256 fbdf23d280480a82b5640acbe75500ca6067b5f565223f62fbd525bda216b972
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk1MjusACgkQnGSe5QXeB7uN+gCfcFpAfyHf5wcAFwBLy/omAPPP
-J7QAoJf+s7xXjKaG/CC6dWC18pipRmuq
-=2MCw
+iEYEARECAAYFAk2Lpe4ACgkQnGSe5QXeB7ub/QCg0B8fH31fT0LfCKZl8jat9PV8
+z6QAnj85DmN+3oRvVle6EUYn3YurLf4H
+=hq1O
 -----END PGP SIGNATURE-----

diff --git a/media-video/stk11xx/files/stk11xx-2.6.37.patch b/media-video/stk11xx/files/stk11xx-2.6.37.patch
deleted file mode 100644
index d7a8bac..0000000
--- a/media-video/stk11xx/files/stk11xx-2.6.37.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ruN driver.org//stk11xx-usb.c driver/stk11xx-usb.c
---- driver.org//stk11xx-usb.c	2011-01-06 21:51:53.674999852 +0200
-+++ driver/stk11xx-usb.c	2011-01-06 21:56:44.418999851 +0200
-@@ -844,7 +844,12 @@
- 	}
- 
- 	// Init mutexes, spinlock, etc.
-+
-+#ifndef init_MUTEX
-+	sema_init(&dev->mutex,1);
-+#else
- 	init_MUTEX(&dev->mutex);
-+#endif
- 	mutex_init(&dev->modlock);
- 	spin_lock_init(&dev->spinlock);
- 	init_waitqueue_head(&dev->wait_frame);

diff --git a/media-video/stk11xx/stk11xx-9999.ebuild b/media-video/stk11xx/stk11xx-9999.ebuild
index 3d79fcf..bf8bb20 100644
--- a/media-video/stk11xx/stk11xx-9999.ebuild
+++ b/media-video/stk11xx/stk11xx-9999.ebuild
@@ -25,10 +25,6 @@ pkg_setup() {
 	BUILD_TARGETS="${PN}.ko"
 	BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}"
 
-	PATCHES=(
-		# http://sourceforge.net/tracker/index.php?func=detail&aid=3152597&group_id=178178&atid=884193
-		"${FILESDIR}"/${PN}-2.6.37.patch
-	)
 	MODULESD_STK11XX_DOCS=( README )
 }
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-24 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 23:43 [gentoo-commits] dev/mgorny:master commit in: media-video/stk11xx/files/, media-video/stk11xx/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2011-03-24 20:13 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox