Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Pirogov
aports
Commits
9a8f3688
Commit
9a8f3688
authored
6 years ago
by
Mike Sullivan
Committed by
Natanael Copa
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/advancemame: on ppc64le fix build error with unsupported float128
parent
ffde8140
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/advancemame/APKBUILD
+5
-3
5 additions, 3 deletions
testing/advancemame/APKBUILD
testing/advancemame/fix-ppc64le-float128.patch
+24
-0
24 additions, 0 deletions
testing/advancemame/fix-ppc64le-float128.patch
with
29 additions
and
3 deletions
testing/advancemame/APKBUILD
+
5
−
3
View file @
9a8f3688
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname
=
advancemame
pkgver
=
3.8
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"A port of the MAME emulator for Arcade Monitors and TVs but also for LCDs and PC monitors"
url
=
"http://www.advancemame.it"
arch
=
"all"
...
...
@@ -9,7 +9,8 @@ license="GPL"
makedepends
=
"clang-dev sdl2-dev alsa-lib-dev freetype-dev zlib-dev expat-dev
slang-dev linux-headers"
subpackages
=
"
$pkgname
-doc
$pkgname
-data::noarch
$pkgname
-mess
$pkgname
-menu"
source
=
"https://github.com/amadvance/
${
pkgname
}
/releases/download/v
${
pkgver
}
/
${
pkgname
}
-
${
pkgver
}
.tar.gz"
source
=
"https://github.com/amadvance/
${
pkgname
}
/releases/download/v
${
pkgver
}
/
${
pkgname
}
-
${
pkgver
}
.tar.gz
fix-ppc64le-float128.patch"
options
=
"!check"
prepare
()
{
...
...
@@ -63,4 +64,5 @@ menu() {
mv
"
$pkgdir
"
/usr/bin/advmenu
"
$subpkgdir
"
/usr/bin/
}
sha512sums
=
"82a2366add559cdb1bcb681e7e45c5a383ab6a6364881a2d63f8239c2fcb6a0e6f7e17e58929e85ee1f55516e8a0df8d492214574127567958af22145f5c6f59 advancemame-3.8.tar.gz"
sha512sums
=
"82a2366add559cdb1bcb681e7e45c5a383ab6a6364881a2d63f8239c2fcb6a0e6f7e17e58929e85ee1f55516e8a0df8d492214574127567958af22145f5c6f59 advancemame-3.8.tar.gz
d42a9b3c65c2d96be5287c7541eb1e911562b3f2aaf07c55c1849725592857716ce496405e3da2243edcbd4b7307226306533ddf66ef2e081b4c492412930d1b fix-ppc64le-float128.patch"
This diff is collapsed.
Click to expand it.
testing/advancemame/fix-ppc64le-float128.patch
0 → 100644
+
24
−
0
View file @
9a8f3688
--- a/advance/d2/d2.cc
+++ b/advance/d2/d2.cc
@@ -21,6 +21,9 @@
#include <string>
#include <iostream>
#include <sstream>
+#if defined(__PPC64__)
+#define __STRICT_ANSI__
+#endif
#include <cstdlib>
#include <cstdio>
--- a/advance/lib/portable.h
+++ b/advance/lib/portable.h
@@ -67,6 +67,9 @@
/* Include some standard headers */
#include <stdio.h>
+#if defined(__PPC64__)
+#define __STRICT_ANSI__
+#endif
#include <stdlib.h> /* On many systems (e.g., Darwin), `stdio.h' is a prerequisite. */
#include <stdarg.h>
#include <string.h>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment