Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Justin Berthault
aports
Commits
4d2b0ded
Commit
4d2b0ded
authored
May 25, 2020
by
Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/mpg123: upgrade to 1.26.0
parent
04b5d664
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
6 deletions
+34
-6
main/mpg123/APKBUILD
main/mpg123/APKBUILD
+6
-6
main/mpg123/fix-s390x.patch
main/mpg123/fix-s390x.patch
+28
-0
No files found.
main/mpg123/APKBUILD
View file @
4d2b0ded
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
mpg123
pkgver
=
1.2
5.13
pkgver
=
1.2
6.0
pkgrel
=
0
pkgdesc
=
"Console-based MPEG Audio Player for Layers 1, 2 and 3"
url
=
"http://www.mpg123.org"
...
...
@@ -8,11 +8,12 @@ arch="all"
license
=
"LGPL-2.1-only"
subpackages
=
"
$pkgname
-libs
$pkgname
-dev
$pkgname
-doc"
makedepends
=
"libtool alsa-lib-dev linux-headers"
source
=
"http://www.mpg123.org/download/mpg123-
$pkgver
.tar.bz2"
source
=
"http://www.mpg123.org/download/mpg123-
$pkgver
.tar.bz2
fix-s390x.patch
"
options
=
"libtool"
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -26,13 +27,12 @@ build() {
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"2308a899f47eb0d17a603cb8a19ea07b1f338d85d9c2f798fb55732d77c603802e18b6ca0215cc59ccdd70fe89816c09fd16a6a91b1d1cd3834bd7877239cb39 mpg123-1.25.13.tar.bz2"
sha512sums
=
"0b58b02228f950320fa948fde17730f22a27e7bf6185fe678632281ca230fa5b84358382acb0f1f438631fcdfb93d1dce252d4fbfe616711144f181deb9f2a3e mpg123-1.26.0.tar.bz2
5331a79f9cc33a55a01757f5676d174bad7ce10b05616eebd1554717a01a3c9cb5e3390e1d1e693abfbc4dbdda440dd2eb2eba258fd804e2f7d61a34072d60cd fix-s390x.patch"
main/mpg123/fix-s390x.patch
0 → 100644
View file @
4d2b0ded
Upstream: No (lives in sourceforge)
Reason: Fixes compilation on big endian systems
diff --git a/src/libout123/hextxt.c b/src/libout123/hextxt.c
index 45c8134..f87c0dc 100644
--- a/src/libout123/hextxt.c
+++ b/src/libout123/hextxt.c
@@ -194,6 +194,7 @@
int txt_write(out123_handle *ao, unsigned char *buf, int len)
#define CHANPRINT24(type, ptype, fmt) \
{ \
unsigned char *ff = f; \
+ int c; \
for(c=0; c<ao->channels; ++c) \
{ \
uint32_t tmp = 0; \
diff --git a/src/libmpg123/sample.h b/src/libmpg123/sample.h
index 5a98fe0..4d244fe 100644
--- a/src/libmpg123/sample.h
+++ b/src/libmpg123/sample.h
@@ -185,7 +185,7 @@
static inline int16_t ftoi16(float x)
#ifdef WORDS_BIGENDIAN
/* Highest byte first. Drop last. */
#define DROP4BYTE(w,r) {(w)[0]=(r)[0]; (w)[1]=(r)[1]; (w)[2]=(r)[2];}
-#define ADD4BYTE(w,r) {(w)[0]=(r)[0]; (w)[1]=(r)[1]; (w)[2]=(r)[2]; (w)[3]=0}
+#define ADD4BYTE(w,r) {(w)[0]=(r)[0]; (w)[1]=(r)[1]; (w)[2]=(r)[2]; (w)[3]=0;}
#else
/* Lowest byte first, drop that. */
#define DROP4BYTE(w,r) {(w)[0]=(r)[1]; (w)[1]=(r)[2]; (w)[2]=(r)[3];}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment