summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2012-07-31 15:49:34 +0000
committerCédric Krier <cedk@gentoo.org>2012-07-31 15:49:34 +0000
commit174f1dbc171b9f94a5b84b6e51d74e814b75d7ba (patch)
treeef290f9363bc314154b62501dc65f4235b3f8ef9 /app-misc
parentRemove obsolete patch file (diff)
downloadhistorical-174f1dbc171b9f94a5b84b6e51d74e814b75d7ba.tar.gz
historical-174f1dbc171b9f94a5b84b6e51d74e814b75d7ba.tar.bz2
historical-174f1dbc171b9f94a5b84b6e51d74e814b75d7ba.zip
Fix respect of LDFLAGS for Bug #331817
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/i810switch/ChangeLog10
-rw-r--r--app-misc/i810switch/Manifest5
-rw-r--r--app-misc/i810switch/files/i810switch-ldflags.patch12
-rw-r--r--app-misc/i810switch/i810switch-0.6.5-r3.ebuild39
-rw-r--r--app-misc/i810switch/i810switch-0.6.5.ebuild26
5 files changed, 62 insertions, 30 deletions
diff --git a/app-misc/i810switch/ChangeLog b/app-misc/i810switch/ChangeLog
index 6cf9676c55e7..1fb7cad66155 100644
--- a/app-misc/i810switch/ChangeLog
+++ b/app-misc/i810switch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/i810switch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/ChangeLog,v 1.20 2009/09/23 16:03:09 patrick Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/ChangeLog,v 1.21 2012/07/31 15:49:34 cedk Exp $
+
+*i810switch-0.6.5-r3 (31 Jul 2012)
+
+ 31 Jul 2012; Cédric Krier <cedk@gentoo.org> +files/i810switch-ldflags.patch,
+ -i810switch-0.6.5.ebuild, +i810switch-0.6.5-r3.ebuild:
+ Fix respect of LDFLAGS for Bug #331817
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> i810switch-0.6.5.ebuild:
Remove virtual/libc
diff --git a/app-misc/i810switch/Manifest b/app-misc/i810switch/Manifest
index 9a82a0725df8..9d900fad0d82 100644
--- a/app-misc/i810switch/Manifest
+++ b/app-misc/i810switch/Manifest
@@ -1,6 +1,7 @@
+AUX i810switch-ldflags.patch 396 SHA256 93330b294a74b51a08e0d44e7067432421260f1005706fa4e7c46f064584fe86 SHA512 0f4277f388d64b42ca534077c459a52587fc843ad5a854e03643dd086207d42fab3cda754983104d4d71ce18f6888b4d471a3952f682b739b3d71b7db787c673 WHIRLPOOL 5999035b128d5f3f1d3458aaac3fba3fbced15e835f6088f464e904b9c9240a586010074d08012d7ff7c003e7482b9e04ab401fda86c71b90e7acb05689f0e6e
AUX i810switch-macbook-support.patch 657 SHA256 b2d0e1ac9322de1b3bea27eb66516880b65b3b259330d77145d29243d4c3884a SHA512 4f73fd5edf5d8ea32955aea8c3b1075ef85bada3a6ddcf2e86ada93f137c1623724e7b2374e88daca2ec5efd4291d93c2a42ef2de31179d04a163eecd2d71946 WHIRLPOOL ad8849b81b682f632865c5190341b5e3ed7a85fa3755a007848b2a30bfa589cc61757245d9458ad4c3a6001a27acdb4c5f00b259eeb6569cf921372b34b5360a
DIST i810switch-0.6.5.tar.gz 24287 SHA256 d714840e3b14e1fa9c432c4be0044b7c008d904dece0d611554655b979cad4c3 SHA512 f7d14b933b39bb4274ec2c156c422927c6a5b7b16e3474a2cf9f80b9798062980642deb19d67ad7946a5a3ccc91465c3c09d113485a9526a5c75c8e625ec6079 WHIRLPOOL a975f38d5470cc6f9546c0bcb281c7659b0444d07a06f0f2d1c90359beac521ec56ec9d7423487f2f8821a073c8befdd4eca33d83cbf3f6d6ddeb93b2efe4810
EBUILD i810switch-0.6.5-r2.ebuild 974 SHA256 f4560623b03b766d01ece5f1fdc45c065811f4152315146766fc935e26e025d1 SHA512 fe457e34e1d004e62579f45c048352986e2ee301e033c40b045917d42b6ea0a992f3b7293b1fa8fe83673553b9217c449f0ec3c942738de53643e6c6d38aebc1 WHIRLPOOL f9487ff1c1771de60bf5e3b86d608f6607f3d42ff3b7e2e18c21e4b6c0fee1a79bfa189425a036a9a8fd290d2169fddfa708c663bad8f8484403ebce85a84cfb
-EBUILD i810switch-0.6.5.ebuild 734 SHA256 e4f406892f958470cbb3876c8574f5ac9a4a74432a823431fea85d75c3e72a27 SHA512 b190d9a2d660c8c1d112c97a0c94a878b9e9557e16a9b8d268a2b8ba964e9c81d62d126835415cbe5697a4896c68e91ffc37d995c213ab7b447c10c86265344f WHIRLPOOL 3c3695442c02856e33cf0a26533a28426e08406ee5bece9ff5a2e5726836a7af0fe169b12364b65e4ebae5f6e247b60a453517f582b7698a87b811d3d9580170
-MISC ChangeLog 2520 SHA256 5756c68b3ecc9783baa22c95ad83493c3334979377d493783e925326f1d81222 SHA512 62b903526d59e9117c1abc950b25e6568efb9f555ac5b5d9e31afc04f6975f5c5eb565025dea1d3f8efe5e4bbcaeecfb783447e8176ad8eb5e548b1e1bde4138 WHIRLPOOL 98935364e6e76a726164a1163a4365bc5bbe595e5754bf95661c372e9b77c0212277a4800c6123affe2b9b9eb5bf3e8d68404590eb1649ceef0bc2fbd011d500
+EBUILD i810switch-0.6.5-r3.ebuild 1020 SHA256 5b616c471150bd1970f158b708385b36104f9272eeefa1c6051e6a4780052dcb SHA512 7519fd6fad14849570d1cbe446e0970a0be35ee916e223a8fb91f3cab7b4f34f9ff1769032b7b5a3a15ea720615d77a2139b8f76b642fd0cb665d581e9cbe9e2 WHIRLPOOL 1d5d13b1026ad8abbda80c92dd81dae3f12911866eda232d7b5c948effb0019d78eac729164654d853877c8debe53e2fb4921766e01915c0a804a7d78d4c3bb9
+MISC ChangeLog 2732 SHA256 8a62653d9d1e665a8efe38074112e1efb7388013fcd95480c85f78ef02c019d7 SHA512 bacd6b1de74d74533d891dec6f838a4247a733e2069cf8706e64c085950e40bda7dc84237a9da737ad8ea069d7e345da529e04bae505fc04241abe223e49d91a WHIRLPOOL c62956d0593a5d4ff88d7d96f58d2e2ae755274538861dfb39738160132f22b40cc9fc6ca4780453ad9b74efa10b0874d692711a4cddc3df670f982731473bd8
MISC metadata.xml 201 SHA256 3a08cfb98960397e08146497648f0bdd649932634211172922a14535a0a67b29 SHA512 e03aba6da54974d6bd1bf2c2d507ee71529bf11405501cbce4b31141c38c784c64b11b779407d95a29b99baf46674f974b49d8a866a4d9dcb3059e8f890c7295 WHIRLPOOL 2ce01cc1b25ddd241d4dcca9a55662f314540198af9ed544670eea7726378b55d9201011c998702d6295c1c61ddd7bf08c5c742a1f62b441bb5c7123f6459945
diff --git a/app-misc/i810switch/files/i810switch-ldflags.patch b/app-misc/i810switch/files/i810switch-ldflags.patch
new file mode 100644
index 000000000000..8f95c6bed8e2
--- /dev/null
+++ b/app-misc/i810switch/files/i810switch-ldflags.patch
@@ -0,0 +1,12 @@
+diff -ru i810switch-0.6.5/Makefile i810switch-0.6.5.new/Makefile
+--- i810switch-0.6.5/Makefile 2003-12-31 15:51:40.000000000 +0100
++++ i810switch-0.6.5.new/Makefile 2012-07-31 17:41:50.000000000 +0200
+@@ -6,7 +6,7 @@
+ all: i810switch
+
+ i810switch: $(OBJECTS)
+- $(CC) $(CFLAGS) -o $@ $(OBJECTS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS)
+
+ install: i810switch
+ install -d $(DESTDIR)/usr/bin
diff --git a/app-misc/i810switch/i810switch-0.6.5-r3.ebuild b/app-misc/i810switch/i810switch-0.6.5-r3.ebuild
new file mode 100644
index 000000000000..06a29e7e5b83
--- /dev/null
+++ b/app-misc/i810switch/i810switch-0.6.5-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/i810switch-0.6.5-r3.ebuild,v 1.1 2012/07/31 15:49:34 cedk Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A utility for switching the LCD and external VGA displays on and off"
+HOMEPAGE="http://www16.plala.or.jp/mano-a-mano/i810switch.html"
+SRC_URI="http://www16.plala.or.jp/mano-a-mano/i810switch/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sys-apps/pciutils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/i810switch-macbook-support.patch
+ epatch "${FILESDIR}"/i810switch-ldflags.patch
+ emake clean
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+}
+
+pkg_postinst() {
+ einfo "To allow non-root users to use i810switch run:"
+ einfo " chmod u+s /usr/bin/i810switch"
+}
diff --git a/app-misc/i810switch/i810switch-0.6.5.ebuild b/app-misc/i810switch/i810switch-0.6.5.ebuild
deleted file mode 100644
index 51c70157072d..000000000000
--- a/app-misc/i810switch/i810switch-0.6.5.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/i810switch/i810switch-0.6.5.ebuild,v 1.4 2009/09/23 16:03:09 patrick Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="A utility for switching the LCD and external VGA displays on and off"
-HOMEPAGE="http://www16.plala.or.jp/mano-a-mano/i810switch.html"
-SRC_URI="http://www16.plala.or.jp/mano-a-mano/i810switch/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="sys-apps/pciutils"
-
-src_compile() {
- emake CC=$(tc-getCC) || die "compile failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed"
- dodoc AUTHORS ChangeLog README TODO
-}