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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
9aa6c7a3
Commit
9aa6c7a3
authored
6 months ago
by
mio
Browse files
Options
Downloads
Patches
Plain Diff
community/lbreakouthd: fix build with gcc 14
parent
5dcdf534
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!71072
community/lbreakouthd: upgrade to 1.1.9, fix build with gcc 14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/lbreakouthd/APKBUILD
+2
-0
2 additions, 0 deletions
community/lbreakouthd/APKBUILD
community/lbreakouthd/gcc14-implicit-function-declaration.patch
+36
-0
36 additions, 0 deletions
...ity/lbreakouthd/gcc14-implicit-function-declaration.patch
with
38 additions
and
0 deletions
community/lbreakouthd/APKBUILD
+
2
−
0
View file @
9aa6c7a3
...
@@ -18,6 +18,7 @@ subpackages="$pkgname-lang $pkgname-data::noarch"
...
@@ -18,6 +18,7 @@ subpackages="$pkgname-lang $pkgname-data::noarch"
source
=
"https://sourceforge.net/projects/lgames/files/lbreakouthd/lbreakouthd-
$pkgver
.tar.gz
source
=
"https://sourceforge.net/projects/lgames/files/lbreakouthd/lbreakouthd-
$pkgver
.tar.gz
0001-fix-undeclared-uint.patch
0001-fix-undeclared-uint.patch
format-security.patch
format-security.patch
gcc14-implicit-function-declaration.patch
"
"
options
=
"!check"
# No test suite
options
=
"!check"
# No test suite
...
@@ -50,4 +51,5 @@ sha512sums="
...
@@ -50,4 +51,5 @@ sha512sums="
c3a51cd0c57c87133423912de2b4e9411bc8eff5220288d484851db30299cdfec8c6b044b90702896bbd374678da1cf6e663ab9a75555ff58323149b55169ec3 lbreakouthd-1.1.9.tar.gz
c3a51cd0c57c87133423912de2b4e9411bc8eff5220288d484851db30299cdfec8c6b044b90702896bbd374678da1cf6e663ab9a75555ff58323149b55169ec3 lbreakouthd-1.1.9.tar.gz
4de6934a7840153354f54c5c6a9c14d22e3d5a76030cd33131c2511d97c363d73912d53d3581fd756ff42dec9c7d4e819056e5a2eee5d92064a88a9337abe5eb 0001-fix-undeclared-uint.patch
4de6934a7840153354f54c5c6a9c14d22e3d5a76030cd33131c2511d97c363d73912d53d3581fd756ff42dec9c7d4e819056e5a2eee5d92064a88a9337abe5eb 0001-fix-undeclared-uint.patch
1600c7cb2c655d775b08961e7752979367c218917f628682e598816e33233cea7c3450c6f03005186dc8f6411d256733da4ed93284d4517608db9167bd189ce5 format-security.patch
1600c7cb2c655d775b08961e7752979367c218917f628682e598816e33233cea7c3450c6f03005186dc8f6411d256733da4ed93284d4517608db9167bd189ce5 format-security.patch
f70dcddbd776e5fd37e2fd63f6fbbd35dde982e14e0fd03cdf02aa126e912965613701738bcf7da1427030d0e4e41c6c871b7fa7fdd066c9f64dc78518ff047c gcc14-implicit-function-declaration.patch
"
"
This diff is collapsed.
Click to expand it.
community/lbreakouthd/gcc14-implicit-function-declaration.patch
0 → 100644
+
36
−
0
View file @
9aa6c7a3
Fix -Wimplicit-function-declaration error with gcc 14.
````
paddle.c: In function 'paddle_freeze':
paddle.c:98:9: error: implicit declaration of function 'SDL_GetRelativeMouseState' [-Wimplicit-function-declaration]
98 | SDL_GetRelativeMouseState( &freeze, &freeze );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
```
```
balls.c: In function 'ball_check_brick_reflection':
balls.c:202:48: error: implicit declaration of function 'SDL_GetTicks' [-Wimplicit-function-declaration]
202 | b->paddle->last_ball_contact = SDL_GetTicks();
| ^~~~~~~~~~~~
````
--- lbreakouthd-1.1.9-origin/libgame/balls.c
+++ lbreakouthd-1.1.9/libgame/balls.c
@@ -15,6 +15,7 @@
* *
***************************************************************************/
+#include <SDL2/SDL_timer.h>
#include "gamedefs.h"
#include "levels.h"
#include "paddle.h"
--- lbreakouthd-1.1.9-origin/libgame/paddle.c
+++ lbreakouthd-1.1.9/libgame/paddle.c
@@ -15,6 +15,7 @@
* *
***************************************************************************/
+#include <SDL2/SDL_mouse.h>
#include "gamedefs.h"
#include "shots.h"
#include "paddle.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