diff options
Diffstat (limited to 'app-text/cwtext')
-rw-r--r-- | app-text/cwtext/Manifest | 3 | ||||
-rw-r--r-- | app-text/cwtext/cwtext-0.96-r1.ebuild | 10 | ||||
-rw-r--r-- | app-text/cwtext/files/cwtext-0.96-pcm.patch | 11 |
3 files changed, 20 insertions, 4 deletions
diff --git a/app-text/cwtext/Manifest b/app-text/cwtext/Manifest index 668bf6cc19a0..c6dd424fd941 100644 --- a/app-text/cwtext/Manifest +++ b/app-text/cwtext/Manifest @@ -1,4 +1,5 @@ AUX cwtext-0.94-asneeded.patch 525 BLAKE2B 0e099345b40bd853420bd35289108bfd43ff02ccc253202786201a74607692015808ae6a3620212ea3879e93b53a10abd4daab81ecf77159982a8aebf5dab604 SHA512 e80d4705d71badb3a0c75a21b99cb2b8033272c609a9cfea769ec48825544f3972cdc505ad32842c34da4918e7dcfcff07900f3611a5a1ca0fdd4c48784d7067 +AUX cwtext-0.96-pcm.patch 248 BLAKE2B 51aa851c7ac8ef3cbbe93722394670bc8542a1553c06df74cf970b7a6af366b5f1a4e342d52d6c27aa747aa42a88cf2e306c54777ee8a2689c5460ddc007e072 SHA512 84b07b79f712a1fc5db6497d625abea47a36061a22e60ea13042b695a39370dda826b421296709efe3ab776a319b4fae6d14fe29ddeef60dec1e76ddfc8ade04 DIST cwtext-0.96.tar.gz 16596 BLAKE2B 0165b787fcb0e5c0ef803370d06eabbde4c014ac11dcd16a516579cf3d817e90c79db6ec15702643be710c9849765671bf676f41a0679443a87a6f4e555963d9 SHA512 6765c79b6feea2947974bf4654ed1edc83f6c9ddaae1bf37d5ed95dedc4ce9b45d5e41dff7ec50d6586f34901d8f93a3230f1a7e1cf4d52b8a84c851cfbdbd33 -EBUILD cwtext-0.96-r1.ebuild 706 BLAKE2B 28ed1d6d96fa6351399696d81a4fa446eee2143169c5135eec225dc17311bd8cbab653487573c83b4dffdffe054a64b58938253560b5490df2d5d35100426257 SHA512 33d6b93fe5b26e5dbc31f80f8001e3498a236676cdb8f7edd3ad66177f05e3d0aa717502bd7c5b765b3f848360d29e1639170ef35496d689ffee74df63179380 +EBUILD cwtext-0.96-r1.ebuild 747 BLAKE2B fd19efebd9f3dc51668eb6dd20d1b2463b7d57e10b013f3c8d258a68e61a13e75745aff24a049075044ebda7ddfac6469f319ff54e40954af08402e8c3cbfb72 SHA512 dce8b269ec6f62b83b91c6e0147584149ac9248717048b03f3a8fe75f009ed4e55397047ffd6d7e64815aa546df2580e61aec817a2766239790233680f270de2 MISC metadata.xml 325 BLAKE2B ff358d0bef47c35ccd68eb73a608e1e3f61cf6735aafcf4045c9b5a49f2e533b4ef2c305a0fa3fa1e23fb6920f4d589cd2274fbdd0073d0d0a8432ff5b911910 SHA512 e61b6497de3ea7dfbc4244c904bd2e3966bdfc3fb228836ffd21e7955da87da325af62b0f8cde180b75d0632dcacf77b46e2b56249b14b2dfa827cc082bd217f diff --git a/app-text/cwtext/cwtext-0.96-r1.ebuild b/app-text/cwtext/cwtext-0.96-r1.ebuild index d95b65bce481..25b8dac1a7a3 100644 --- a/app-text/cwtext/cwtext-0.96-r1.ebuild +++ b/app-text/cwtext/cwtext-0.96-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,11 +13,15 @@ SLOT="0" KEYWORDS="amd64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" -PATCHES=( "${FILESDIR}"/${PN}-0.94-asneeded.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.96-pcm.patch + "${FILESDIR}"/${PN}-0.94-asneeded.patch +) + DOCS=( Changes README TODO ) src_prepare() { - eapply -p0 "${PATCHES}" + eapply -p0 "${PATCHES[@]}" # change install directory to ${S} sed -i -e "/^PREFIX/ s:=.*:=\"${S}\":" makefile || \ die "sed makefile failed" diff --git a/app-text/cwtext/files/cwtext-0.96-pcm.patch b/app-text/cwtext/files/cwtext-0.96-pcm.patch new file mode 100644 index 000000000000..f14a1d06182b --- /dev/null +++ b/app-text/cwtext/files/cwtext-0.96-pcm.patch @@ -0,0 +1,11 @@ +--- pcm.c.orig ++++ pcm.c +@@ -60,7 +60,7 @@ int mStoSamples(int hVox, int time) { + float samples; + float fsr; + +- if (!valid(hVox)) return; ++ if (!valid(hVox)) return 0; + + timelen = (float) time; + fsr = (float) voxref(hVox).samplerate; |