public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: media-video/stk11xx/files/, media-video/stk11xx/
Date: Fri,  4 Feb 2011 23:43:19 +0000 (UTC)	[thread overview]
Message-ID: <74c7885eeb2081287905702627e8f6af65780cd2.mgorny@gentoo> (raw)

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 )
 }
 



             reply	other threads:[~2011-02-04 23:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 23:43 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-24 20:13 [gentoo-commits] dev/mgorny:master commit in: media-video/stk11xx/files/, media-video/stk11xx/ Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74c7885eeb2081287905702627e8f6af65780cd2.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox