modified patch to (hopefully) work with new ebuild
This commit is contained in:
parent
1c3771593b
commit
27c2ec98fa
3 changed files with 29 additions and 5 deletions
|
@ -10,15 +10,19 @@ AUX mt-daapd-0.2.4.1-pidfile.patch 1908 RMD160 20b751d8ec53fa850eab8237830203824
|
|||
MD5 c1130a9222dd1e2de25aeb298f9640d8 files/mt-daapd-0.2.4.1-pidfile.patch 1908
|
||||
RMD160 20b751d8ec53fa850eab8237830203824b8c90bd files/mt-daapd-0.2.4.1-pidfile.patch 1908
|
||||
SHA256 da3d9e7283886eadd0e8e31a5058d307ee693ca3207bafc5d6b6315fe2217659 files/mt-daapd-0.2.4.1-pidfile.patch 1908
|
||||
AUX mt-daapd-1586-sparc.patch 915 RMD160 25e5cd29919afe4e8a32a68a161a1262ae4b0bdd SHA1 ec4a0f1881130232a619e414fb33010945a14410 SHA256 7c12799dffc8707e409d819ceffb9937ccd7b641dbc0149e8ad7980d697a0021
|
||||
MD5 3b7a42ce1bc897b66a4ad67fd07fedf1 files/mt-daapd-1586-sparc.patch 915
|
||||
RMD160 25e5cd29919afe4e8a32a68a161a1262ae4b0bdd files/mt-daapd-1586-sparc.patch 915
|
||||
SHA256 7c12799dffc8707e409d819ceffb9937ccd7b641dbc0149e8ad7980d697a0021 files/mt-daapd-1586-sparc.patch 915
|
||||
AUX mt-daapd.init.2 1200 RMD160 b5dc96a1bf7c390d9a818ea5a8018ac6c1f8a90c SHA1 96187b2ca0ac89e5a69834df87c10997ae013cf5 SHA256 6e4336639ead7da81d659a289fad0600b30b112420016fd63bf426eeae2098a1
|
||||
MD5 674db97976bcc4e34df95a17ffe8750c files/mt-daapd.init.2 1200
|
||||
RMD160 b5dc96a1bf7c390d9a818ea5a8018ac6c1f8a90c files/mt-daapd.init.2 1200
|
||||
SHA256 6e4336639ead7da81d659a289fad0600b30b112420016fd63bf426eeae2098a1 files/mt-daapd.init.2 1200
|
||||
DIST mt-daapd-svn-1586.tar.gz 1286592 RMD160 af6ddf88142d189bbb375479b544201fc3513a5d SHA1 8096a5907ceaa00de2decb63441b899802ba39de SHA256 d90e6f9e1752f0dd5a13c38403e8ff9542955f89abee8693abfb78bbe87601ea
|
||||
EBUILD mt-daapd-1586.ebuild 2366 RMD160 27d0feee03d242fce4c52fe509fc951c1868a036 SHA1 1ff599ecad8bab22d9dd13b79e002629a042f449 SHA256 9a000cdcaeb13450e89c427f5419bc7ec6af2666e8d3bbdc5ffb241916613a5e
|
||||
MD5 b1471f48827e309eb6935a5285f920b0 mt-daapd-1586.ebuild 2366
|
||||
RMD160 27d0feee03d242fce4c52fe509fc951c1868a036 mt-daapd-1586.ebuild 2366
|
||||
SHA256 9a000cdcaeb13450e89c427f5419bc7ec6af2666e8d3bbdc5ffb241916613a5e mt-daapd-1586.ebuild 2366
|
||||
EBUILD mt-daapd-1586.ebuild 2359 RMD160 c545f4b20163d7ead7dbcc5c68cb99d766788298 SHA1 2f5984644d149076087fe765a463aebadfa787a2 SHA256 05052e61530df026c037825c439a36e1fd251bdf1b9addb3e74cb2c0c9af4103
|
||||
MD5 f92cf41c2c31eb9cbbb360d58a0d8ea9 mt-daapd-1586.ebuild 2359
|
||||
RMD160 c545f4b20163d7ead7dbcc5c68cb99d766788298 mt-daapd-1586.ebuild 2359
|
||||
SHA256 05052e61530df026c037825c439a36e1fd251bdf1b9addb3e74cb2c0c9af4103 mt-daapd-1586.ebuild 2359
|
||||
MD5 9dc98d9bd0d1f97bd3996d3b8ee25944 files/digest-mt-daapd-1586 256
|
||||
RMD160 7cac11d7ce204b10a91fa868de7d4bd243de0223 files/digest-mt-daapd-1586 256
|
||||
SHA256 57a17cf09f8a4ed1414b86b4c678f17920698aaaa8d0b6693c76e45b31cde2cf files/digest-mt-daapd-1586 256
|
||||
|
|
20
media-sound/mt-daapd/files/mt-daapd-1586-sparc.patch
Normal file
20
media-sound/mt-daapd/files/mt-daapd-1586-sparc.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff -Nura mt-daapd-0.2.3/src/scan-mp3.c mt-daapd-0.2.3.sparc/src/scan-mp3.c
|
||||
--- mt-daapd-0.2.3/src/scan-mp3.c 2005-02-05 18:22:47.000000000 -0300
|
||||
+++ mt-daapd-0.2.3.sparc/src/scan-mp3.c 2006-01-03 16:39:50.000000000 -0300
|
||||
@@ -1663,14 +1663,14 @@
|
||||
/* now check for an XING header */
|
||||
if(strncasecmp((char*)&buffer[index+fi.xing_offset+4],"XING",4) == 0) {
|
||||
DPRINTF(E_DBG,L_SCAN,"Found Xing header\n");
|
||||
- xing_flags=*((int*)&buffer[index+fi.xing_offset+4+4]);
|
||||
+ memcpy (&xing_flags, &buffer[index+fi.xing_offset+4+4], sizeof(int));
|
||||
xing_flags=ntohs(xing_flags);
|
||||
|
||||
DPRINTF(E_DBG,L_SCAN,"Xing Flags: %02X\n",xing_flags);
|
||||
|
||||
if(xing_flags & 0x1) {
|
||||
/* Frames field is valid... */
|
||||
- fi.number_of_frames=*((int*)&buffer[index+fi.xing_offset+4+8]);
|
||||
+ memcpy (&fi.number_of_frames, &buffer[index+fi.xing_offset+4+8], sizeof(int));
|
||||
fi.number_of_frames=ntohs(fi.number_of_frames);
|
||||
}
|
||||
}
|
|
@ -33,7 +33,7 @@ pkg_setup() {
|
|||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-0.2.3-sparc.patch
|
||||
epatch "${FILESDIR}"/${P}-sparc.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.2.4.1-libsorder.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.2.4.1-pidfile.patch
|
||||
eautoreconf
|
||||
|
|
Loading…
Reference in a new issue