From a4621d1d3aeb42727e02c63f53aa56a20f2ff88b Mon Sep 17 00:00:00 2001 From: Joseph Jezak Date: Mon, 18 Dec 2006 06:24:31 +0000 Subject: [PATCH] Added patch to enable -lm to fix compile error without alsa. Thanks to gothgirl for pointing it out. Package-Manager: portage-2.1.2_rc3-r5 --- app-laptop/pbbuttonsd/ChangeLog | 7 ++++- app-laptop/pbbuttonsd/Manifest | 26 +++++++++++-------- app-laptop/pbbuttonsd/files/lm-fix.patch | 11 ++++++++ app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild | 3 ++- 4 files changed, 34 insertions(+), 13 deletions(-) create mode 100644 app-laptop/pbbuttonsd/files/lm-fix.patch diff --git a/app-laptop/pbbuttonsd/ChangeLog b/app-laptop/pbbuttonsd/ChangeLog index c89bb112d973..55365ca16d5d 100644 --- a/app-laptop/pbbuttonsd/ChangeLog +++ b/app-laptop/pbbuttonsd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-laptop/pbbuttonsd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.58 2006/12/17 02:05:03 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/ChangeLog,v 1.59 2006/12/18 06:24:31 josejx Exp $ + + 18 Dec 2006; Joseph Jezak +files/lm-fix.patch, + pbbuttonsd-0.7.9.ebuild: + Added patch to enable -lm to fix compile error without alsa. Thanks to + gothgirl for pointing it out. 17 Dec 2006; Joseph Jezak files/x86-fix.patch: Fixed the x86 patch for ppc. diff --git a/app-laptop/pbbuttonsd/Manifest b/app-laptop/pbbuttonsd/Manifest index 1df655e618ee..e99528731ca4 100644 --- a/app-laptop/pbbuttonsd/Manifest +++ b/app-laptop/pbbuttonsd/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX lm-fix.patch 458 RMD160 a68665170909152cc12d76eb25e2a738ef7b1633 SHA1 02802af9bd7e4ed4c0eecdb8e95798c2b9929219 SHA256 0e0c0ecb1e81ca5d418d87d15e792448770f4104d838d5759484af3a3873fe5c +MD5 2c85dfcfa5f5b9b3a5ad92cad3acc172 files/lm-fix.patch 458 +RMD160 a68665170909152cc12d76eb25e2a738ef7b1633 files/lm-fix.patch 458 +SHA256 0e0c0ecb1e81ca5d418d87d15e792448770f4104d838d5759484af3a3873fe5c files/lm-fix.patch 458 AUX pbbuttonsd-ibam-g++.patch 1331 RMD160 39dd7e4b82fa94ad6f46c054bfed6749c1532e13 SHA1 17702b6ea9d3e316395847e6f6f3a48647fa9403 SHA256 47c2f632c523d3f9e54bc1fd235585be701c2855d17fc5a2753677d99c80d67e MD5 5e82119a13c8f353802e899205786a90 files/pbbuttonsd-ibam-g++.patch 1331 RMD160 39dd7e4b82fa94ad6f46c054bfed6749c1532e13 files/pbbuttonsd-ibam-g++.patch 1331 @@ -33,14 +37,14 @@ EBUILD pbbuttonsd-0.7.8.ebuild 2153 RMD160 b2af3a32982539cbc34d7976e0d95917308ee MD5 ece6b7358a46f8816f6040557091705a pbbuttonsd-0.7.8.ebuild 2153 RMD160 b2af3a32982539cbc34d7976e0d95917308eec70 pbbuttonsd-0.7.8.ebuild 2153 SHA256 c80c2b86fe9ef6ec45d2f1657f7a0ed8b4b0ce2bc769a162abdeddff80d6dafc pbbuttonsd-0.7.8.ebuild 2153 -EBUILD pbbuttonsd-0.7.9.ebuild 2089 RMD160 d482dcc63755bd93840078198013e96117e88ed3 SHA1 a6e6f76d64e4d8de5c3a9f9ae0b9c37064150f80 SHA256 c3875dc8ed0a658101a6a5df9a1a09c302eae7c36b543a6dd9c41cdfeac959d0 -MD5 bf663fd2b72c2b52f8e3b5ef48b00111 pbbuttonsd-0.7.9.ebuild 2089 -RMD160 d482dcc63755bd93840078198013e96117e88ed3 pbbuttonsd-0.7.9.ebuild 2089 -SHA256 c3875dc8ed0a658101a6a5df9a1a09c302eae7c36b543a6dd9c41cdfeac959d0 pbbuttonsd-0.7.9.ebuild 2089 -MISC ChangeLog 13284 RMD160 336e9483ee7b3597ef83d95be16b4699058a398c SHA1 fc49547d29f76ae8118835cdb1dfbdb0ed35f2b4 SHA256 d598376077f0cbea3265a6743dd915b2d925f6ba6e77753030e64d3bd0dbf538 -MD5 564556a2fae24ee03b7b3eccb0d7883b ChangeLog 13284 -RMD160 336e9483ee7b3597ef83d95be16b4699058a398c ChangeLog 13284 -SHA256 d598376077f0cbea3265a6743dd915b2d925f6ba6e77753030e64d3bd0dbf538 ChangeLog 13284 +EBUILD pbbuttonsd-0.7.9.ebuild 2124 RMD160 77ed59bb2866cb6a909be0713919816267d72375 SHA1 e7087d5426895a7792440ede5f630ce6b2166367 SHA256 d03e84bb3a6568c8765eedccedc86b5940e940d7252e7ac8cdc3f849c79eb405 +MD5 d436c9100f186b28d35411038b1dc37f pbbuttonsd-0.7.9.ebuild 2124 +RMD160 77ed59bb2866cb6a909be0713919816267d72375 pbbuttonsd-0.7.9.ebuild 2124 +SHA256 d03e84bb3a6568c8765eedccedc86b5940e940d7252e7ac8cdc3f849c79eb405 pbbuttonsd-0.7.9.ebuild 2124 +MISC ChangeLog 13486 RMD160 0380ebfa4abedf81b22d90e7efea3e11cdb71f36 SHA1 8477d895ef34e854a1ae9ec06c56735763a4de55 SHA256 53babede988ee69fe4b7931e20e0ef3bb3c5fe74675daabcf1a2c851b5b425df +MD5 61bfb312ed8070de2ddb6a13b8372921 ChangeLog 13486 +RMD160 0380ebfa4abedf81b22d90e7efea3e11cdb71f36 ChangeLog 13486 +SHA256 53babede988ee69fe4b7931e20e0ef3bb3c5fe74675daabcf1a2c851b5b425df ChangeLog 13486 MISC metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 SHA1 30b3e2b32ee2b52b68ad1d77f04f2c75980bf7d4 SHA256 d57f79be439079b5c78578b17eb3ee7d20883353b1c40a716d3f1ab06af34851 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 metadata.xml 156 @@ -60,7 +64,7 @@ SHA256 b5e6f398b30b3da3e823656451a956fea184ac0956adca676c6f4c43c6c86233 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFhKXVcsIHjyDViGQRAhgUAKCe7q9tpNKdrlZpRGM1C1g1bZeL2ACfTavk -V/jmwSttqQOGAHVDdYrdSbI= -=xKZc +iD8DBQFFhjQkcsIHjyDViGQRAsZxAJ9lGoXz7GnKLUc/Po80nS8kdrB99ACdFtEC +M5e8szioxkak+fC94WJWiUQ= +=i2UD -----END PGP SIGNATURE----- diff --git a/app-laptop/pbbuttonsd/files/lm-fix.patch b/app-laptop/pbbuttonsd/files/lm-fix.patch new file mode 100644 index 000000000000..1b767b8d47df --- /dev/null +++ b/app-laptop/pbbuttonsd/files/lm-fix.patch @@ -0,0 +1,11 @@ +--- src/Makefile.in.old 2006-12-18 01:17:22.000000000 -0500 ++++ src/Makefile.in 2006-12-18 01:17:33.000000000 -0500 +@@ -132,7 +132,7 @@ + DEFS = @DEFS@ -I. -I$(srcdir) -I.. + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ +-LIBS = @LIBS@ ++LIBS = -lm @LIBS@ + pbbuttonsd_OBJECTS = pbbuttonsd.o init.o input_manager.o support.o \ + config_manager.o module_pmac.o module_system.o module_powersave.o \ + module_display.o module_cdrom.o module_mixer.o module_ossmixer.o \ diff --git a/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild b/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild index 67bbfe2469a7..d045e93e423e 100644 --- a/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild +++ b/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild,v 1.3 2006/12/17 01:42:46 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pbbuttonsd/pbbuttonsd-0.7.9.ebuild,v 1.4 2006/12/18 06:24:31 josejx Exp $ inherit autotools flag-o-matic @@ -22,6 +22,7 @@ src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}/x86-fix.patch" + epatch "${FILESDIR}/lm-fix.patch" eautoconf } -- 2.26.2