Merge pull request #6655 from Rmys/master

libid3tag:rebuild
This commit is contained in:
Rmys
2019-03-13 22:48:19 +03:00
committed by GitHub
3 changed files with 37 additions and 0 deletions
+2
View File
@@ -6,9 +6,11 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("rm -rf {compat.c,frametype.c}")
autotools.configure("--with-gnu-ld \
--disable-debugging \
--disable-static")
@@ -0,0 +1,26 @@
Index: libid3tag-0.15.1b/frametype.h
===================================================================
--- libid3tag-0.15.1b.orig/frametype.h
+++ libid3tag-0.15.1b/frametype.h
@@ -37,6 +37,6 @@ extern struct id3_frametype const id3_fr
extern struct id3_frametype const id3_frametype_obsolete;
struct id3_frametype const *id3_frametype_lookup(register char const *,
- register unsigned int);
+ register size_t);
# endif
Index: libid3tag-0.15.1b/compat.h
===================================================================
--- libid3tag-0.15.1b.orig/compat.h
+++ libid3tag-0.15.1b/compat.h
@@ -34,7 +34,7 @@ struct id3_compat {
};
struct id3_compat const *id3_compat_lookup(register char const *,
- register unsigned int);
+ register size_t);
int id3_compat_fixup(struct id3_tag *);
+9
View File
@@ -15,11 +15,13 @@
<Archive sha1sum="4d867e8a8436e73cd7762fe0e85958e35f1e4306" type="targz">mirrors://sourceforge/mad/libid3tag-0.15.1b.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>gperf</Dependency>
</BuildDependencies>
<Patches>
<Patch>libid3tag-0.15.1b-fix_overflow.patch</Patch>
<Patch level="1">libid3tag-0.15.1b-unknown-encoding.patch</Patch>
<Patch level="1">libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch</Patch>
<Patch level="1">libid3tag-gperf.patch</Patch>
</Patches>
</Source>
@@ -49,6 +51,13 @@
</Package>
<History>
<Update release="5">
<Date>2019-03-13</Date>
<Version>0.15.1b</Version>
<Comment>Rebuild</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-07-31</Date>
<Version>0.15.1b</Version>