diff options
author | Vikraman Choudhury <vikraman@gentoo.org> | 2013-05-28 19:48:31 +0000 |
---|---|---|
committer | Vikraman Choudhury <vikraman@gentoo.org> | 2013-05-28 19:48:31 +0000 |
commit | 0d644a7dabd221472571e011bf92d9d4cabbaa7b (patch) | |
tree | da387c9eed7b91ca2321fa60588bee6ff385b7ee /sys-block/rts_pstor | |
parent | Version bump. (diff) | |
download | historical-0d644a7dabd221472571e011bf92d9d4cabbaa7b.tar.gz historical-0d644a7dabd221472571e011bf92d9d4cabbaa7b.tar.bz2 historical-0d644a7dabd221472571e011bf92d9d4cabbaa7b.zip |
Patch to fix build on linux 3.8, fixes bug #471606
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64
Manifest-Sign-Key: 0xB0A72FD2
Diffstat (limited to 'sys-block/rts_pstor')
-rw-r--r-- | sys-block/rts_pstor/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/rts_pstor/Manifest | 12 | ||||
-rw-r--r-- | sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch | 29 | ||||
-rw-r--r-- | sys-block/rts_pstor/rts_pstor-1.10-r1.ebuild | 34 |
4 files changed, 77 insertions, 6 deletions
diff --git a/sys-block/rts_pstor/ChangeLog b/sys-block/rts_pstor/ChangeLog index 43922342e301..34421778f5c4 100644 --- a/sys-block/rts_pstor/ChangeLog +++ b/sys-block/rts_pstor/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-block/rts_pstor # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/rts_pstor/ChangeLog,v 1.1 2013/02/28 17:48:08 vikraman Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/rts_pstor/ChangeLog,v 1.2 2013/05/28 19:48:25 vikraman Exp $ + +*rts_pstor-1.10-r1 (28 May 2013) + + 28 May 2013; Vikraman <vikraman@gentoo.org> +rts_pstor-1.10-r1.ebuild, + +files/rts_pstor-linux-3.8.patch: + Patch to fix build on linux 3.8, fixes bug #471606 *rts_pstor-1.10 (28 Feb 2013) diff --git a/sys-block/rts_pstor/Manifest b/sys-block/rts_pstor/Manifest index 978e8ff3c525..68e7e4d20ab2 100644 --- a/sys-block/rts_pstor/Manifest +++ b/sys-block/rts_pstor/Manifest @@ -1,14 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX rts_pstor-linux-3.8.patch 829 SHA256 4a07d2b27d19997bceb50619dcff29a552cf329a642f797bed97ca440fcf2608 SHA512 8ee281925ebbd45d857614a8bcd5d0f92ba8df3e360646d0ffb5288765638e93dde7e92996b55f8c11bcdc2b7e12ae22230a1ea394eb6b2a5c00913570075753 WHIRLPOOL 1086685f3df997d59548e90b0d8ef535cac831299754a64d9bd233bea1be62696865c48a8faebcffe333db14f83c7514f2039e37a43b372fed92524268669a18 DIST rts_pstor-1.10.tar.bz2 79549 SHA256 21d819a9b89f029a86fdc807f212ca38ed903e071bed204b2ddb84b2a017a31f SHA512 26d29ccda55672adab8b96a8318e240d0c9d50ebf614853284cf218058c5788cc83b818ce118ac313c0ce6a67aef8ad13d93ed26212db7e05db51b8a7860b48d WHIRLPOOL 15d4cb19ababfffd41b95160531ca048cf2d1affc9ac8f846c7ea7e3c92289a47751e028908333e973c2a92e3ff18b606c92c8223ae8a48fdf5ef911e5c1d43c +EBUILD rts_pstor-1.10-r1.ebuild 914 SHA256 b0f9fd4f2c3b9a54f6b65419912209eb0dfae248231af8f668571ad58168bb5e SHA512 86cbf5aebfa11e017b12409a8d0dee716d908d44d6320be3ece62483721a6aa995a4e9326b8e70d6261e7bbabd6e83ec7509812f026506bcbaa2aade02813d5e WHIRLPOOL 0825ca8196dad545bb2d9c655927f9632024b502cf8dea6bf0c87ef849dabfde47a1869f43659437098862ed732e3bfc8e0aa0d888f310e0435010b9c1ee8d6d EBUILD rts_pstor-1.10.ebuild 867 SHA256 b06c50c5f44b884f9cc5d433bcbd3a76744574b824603cbcc22d5969a6fe0aeb SHA512 62ced6f64b8675b01cd3de38edca294e03473832029ef6dbace33013c25732185b5fdabbcd165941e1d0005c8ff209293b14603645b476dcd3865919ac223bce WHIRLPOOL 2501a06c91b3b0e16c3eda1e76118444b210e6e9ee0d42cae1e9bbc0e2b7b29e8ec7652c4f8192e42934822e9fcbf0f9448794cebe76e05549480aa4cc0f6b74 -MISC ChangeLog 412 SHA256 7326f0aaa8f3223f1ebde5cd8db721521c96e5229d2e6d27db233a4a30308661 SHA512 16b56127d86fab6f2904b5554a939e2e7bb58744de9f0ab4fe8ae88f9d8f1b0ff4ffa3950863bd84c6a5498eab0542f7ddc4d3162a779eee0a0ef3e32458abee WHIRLPOOL 41c38b953ff826157e0a039972673e80c939952caed7018ed42c04f5593335b142c1bcea1d74ff13ff73382e2b1abadc279a4d48d3e3bd2c164838d27221ffd8 +MISC ChangeLog 609 SHA256 aadd21ffee920a3a7b3d56d51111e9981ddc60c51caca43d99f2077b3136a7f7 SHA512 d2c5a02ab6ea11db34aec2e30e92e98c0f31a6ac1bcde3c0761c9b6cef01afd589a9088738863dafb18e88526a6781ac35e955a9bcef9160b700acc1279fbb15 WHIRLPOOL 800b82d6620152b2925b3cec414d7a21badc286f950f4410603cac49d9e57a861ce4684b380e08deaa4a41495726d9ff14dd703f9a2893b49687b48d5e228188 MISC metadata.xml 334 SHA256 0d45e4fc5d6fc2b6612bfe461ee947b96965c2e6443333543df2c0166356dcbc SHA512 38fe96eadfead9361b512a25e017c757aab1bd8a50682a53c24273bebf04c3ee087ba0cb90de107b4add86f681df612f9e1b4c8788a558855af6f6a44733cb9d WHIRLPOOL 7f2262c8515530eb889a6f182afea2f462cbd7023a81783ee1affc349795e3e54249a1519ebb45dea346bfd96dfb37c4bc8c919188ed8faefac52a0da8efe0dc -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlEvmGAACgkQR91UhLCnL9LZwQEAgJIsaGF+9VfqLPRKdTTTsAKb -OWTu6nwHrJ70Y5NuX8gA/RXUJXPZkwd20XvJ7mdADJ2hu1yapj09/Hvww5rD39Gr -=iaoR +iF4EAREIAAYFAlGlCg4ACgkQR91UhLCnL9KM4wEA3QgvTltIx7s45/Ro57vddmrX +xHcYco84XgPpS9NJHHgA/RaBidwuaTrcxBrskPxy1gzKv1/pdsFuQKk0BEvveNmW +=Dchl -----END PGP SIGNATURE----- diff --git a/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch b/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch new file mode 100644 index 000000000000..797b1088f31b --- /dev/null +++ b/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch @@ -0,0 +1,29 @@ +--- rts_pstor.a/rtsx.c 2011-01-11 14:41:07.000000000 +0530 ++++ rts_pstor.b/rtsx.c 2013-05-29 00:39:11.319267655 +0530 +@@ -913,7 +913,7 @@ + chip->s3_pwr_off_delay = 1000; + } + +-static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) ++static int rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) + { + struct Scsi_Host *host; + struct rtsx_dev *dev; +@@ -1077,7 +1077,7 @@ + } + + +-static void __devexit rtsx_remove(struct pci_dev *pci) ++static void rtsx_remove(struct pci_dev *pci) + { + struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci); + +@@ -1104,7 +1104,7 @@ + .name = CR_DRIVER_NAME, + .id_table = rtsx_ids, + .probe = rtsx_probe, +- .remove = __devexit_p(rtsx_remove), ++ .remove = rtsx_remove, + #ifdef CONFIG_PM + .suspend = rtsx_suspend, + .resume = rtsx_resume, diff --git a/sys-block/rts_pstor/rts_pstor-1.10-r1.ebuild b/sys-block/rts_pstor/rts_pstor-1.10-r1.ebuild new file mode 100644 index 000000000000..52847e49fe5d --- /dev/null +++ b/sys-block/rts_pstor/rts_pstor-1.10-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/rts_pstor/rts_pstor-1.10-r1.ebuild,v 1.1 2013/05/28 19:48:25 vikraman Exp $ + +EAPI=4 + +inherit linux-mod + +DESCRIPTION="PCIE RTS5209 card reader driver for Linux" +HOMEPAGE="http://www.realtek.com.tw/Downloads/downloadsView.aspx?PNid=15&PFid=25&Level=4&Conn=3&DownTypeID=3" +SRC_URI="http://dev.gentoo.org/~vikraman/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +MODULE_NAMES="rts_pstor(kernel/drivers/scsi)" +BUILD_TARGETS="default" + +src_prepare() { + sed -i -e 's/\/lib\/modules\/\$(shell uname -r)\/build\//\$(KERNELDIR)/g' Makefile || die "Sed failed!" + epatch "${FILESDIR}/${PN}-linux-3.8.patch" +} + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}" +} |