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
261b4a58
Commit
261b4a58
authored
7 months ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/lua-bit32: fix lua 5.4 build with gcc 14
parent
d3d98b90
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!70197
main/lua-bit32: fix lua 5.4 build with gcc 14
Pipeline
#251649
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/lua-bit32/APKBUILD
+7
-3
7 additions, 3 deletions
main/lua-bit32/APKBUILD
main/lua-bit32/gcc14.patch
+13
-0
13 additions, 0 deletions
main/lua-bit32/gcc14.patch
with
20 additions
and
3 deletions
main/lua-bit32/APKBUILD
+
7
−
3
View file @
261b4a58
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
lua-bit32
pkgname
=
lua-bit32
pkgver
=
5.3.0
pkgver
=
5.3.0
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"A lua library providing bitwise operations"
pkgdesc
=
"A lua library providing bitwise operations"
url
=
"https://github.com/keplerproject/lua-compat-5.2"
url
=
"https://github.com/keplerproject/lua-compat-5.2"
arch
=
"all"
arch
=
"all"
options
=
"!check"
options
=
"!check"
license
=
"MIT"
license
=
"MIT"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/keplerproject/lua-compat-5.2/archive/bitlib-
$pkgver
.tar.gz
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/keplerproject/lua-compat-5.2/archive/bitlib-
$pkgver
.tar.gz
gcc14.patch
Makefile
Makefile
"
"
builddir
=
"
$srcdir
/lua-compat-5.2-bitlib-
$pkgver
"
builddir
=
"
$srcdir
/lua-compat-5.2-bitlib-
$pkgver
"
...
@@ -44,5 +45,8 @@ _subpackage() {
...
@@ -44,5 +45,8 @@ _subpackage() {
"
$subpkgdir
"
/usr/lib/lua/
$lver
/bit32.so
"
$subpkgdir
"
/usr/lib/lua/
$lver
/bit32.so
}
}
sha512sums
=
"234807e201197bc27720864a328f5b63a9fe8bf88bf1fb64cd178532c0745a330b23455fcff0e50d365034f3e43af3c835de7f10a685275da66a7a1ca873e90a lua-bit32-5.3.0.tar.gz
sha512sums
=
"
077dd4b397a9e4eb04ac131ceeef148b5f0790970398d69823f1bad485dcb3ab57126fc7b99428c7ec8255dc6b4d4aeee5a88ddf6a7dd9a767886e2fb357265e Makefile"
234807e201197bc27720864a328f5b63a9fe8bf88bf1fb64cd178532c0745a330b23455fcff0e50d365034f3e43af3c835de7f10a685275da66a7a1ca873e90a lua-bit32-5.3.0.tar.gz
22c99492b35698d08ad5475e015c6d040c4c3ad23e3d67c686dc6642053f1d1cff502e4c1f5def06cbb51cc1cbc632b9b5547332c0e8cbacfdd5e567b9c1cc26 gcc14.patch
077dd4b397a9e4eb04ac131ceeef148b5f0790970398d69823f1bad485dcb3ab57126fc7b99428c7ec8255dc6b4d4aeee5a88ddf6a7dd9a767886e2fb357265e Makefile
"
This diff is collapsed.
Click to expand it.
main/lua-bit32/gcc14.patch
0 → 100644
+
13
−
0
View file @
261b4a58
diff --git a/lbitlib.c b/lbitlib.c
index 24ceac6..fbbcc58 100644
--- a/lbitlib.c
+++ b/lbitlib.c
@@ -15,7 +15,7 @@
/********************************************************************/
#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 501
#include "compat-5.2.c"
-#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 503
+#elif defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 503
#define luaL_checkunsigned(L, n) ((lua_Unsigned)luaL_checkinteger((L), (n)))
#define lua_pushunsigned(L, n) (lua_pushinteger(L, (lua_Integer)(n)))
#endif
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