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
1cfc191c
Commit
1cfc191c
authored
7 months ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
community/quota-tools: fix implicit basename declaration
See
#16106
Fixes
#16285
parent
259aa536
No related branches found
No related tags found
2 merge requests
!75268
main/postgresql15: security upgrade to 15.9
,
!75022
community/linux-edge: add hexdump to makedepends
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
community/quota-tools/APKBUILD
+4
-3
4 additions, 3 deletions
community/quota-tools/APKBUILD
community/quota-tools/fix-implicit-basename.patch
+13
-0
13 additions, 0 deletions
community/quota-tools/fix-implicit-basename.patch
with
17 additions
and
3 deletions
community/quota-tools/APKBUILD
+
4
−
3
View file @
1cfc191c
...
...
@@ -2,16 +2,16 @@
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname
=
quota-tools
pkgver
=
4.09
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"linux disk quota system tools"
url
=
"https://sourceforge.net/projects/linuxquota/"
arch
=
"all"
license
=
"GPL-2.0-or-later"
makedepends
=
"e2fsprogs-dev libnl3-dev libtirpc-dev
linux-headers"
subpackages
=
"
$pkgname
-doc"
source
=
"https://downloads.sourceforge.net/sourceforge/linuxquota/quota-
$pkgver
.tar.gz"
source
=
"https://downloads.sourceforge.net/sourceforge/linuxquota/quota-
$pkgver
.tar.gz
fix-implicit-basename.patch"
builddir
=
"
$srcdir
/"
quota-
$pkgver
...
...
@@ -46,4 +46,5 @@ package() {
sha512sums
=
"
003d45f33543d4c87446e6547079cdae293b8dade01c58cf3626623721a1400ee07681395ad656c23a9ea2a62ab27c6ad24ad55600890e6e25334aba27ab1ad5 quota-4.09.tar.gz
79f935c264f658af4a7ffc27ccaa0be8d323f252a73a32cd978c4b4bef881137310729a62db0f3674fd45e95a0ab84dbbd60dbc7bc655693aacc33e6721c0bf8 fix-implicit-basename.patch
"
This diff is collapsed.
Click to expand it.
community/quota-tools/fix-implicit-basename.patch
0 → 100644
+
13
−
0
View file @
1cfc191c
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106
diff -upr quota-4.09.orig/common.h quota-4.09/common.h
--- quota-4.09.orig/common.h 2024-07-17 21:24:31.966854060 +0200
+++ quota-4.09/common.h 2024-07-17 21:24:57.050235540 +0200
@@ -67,4 +67,7 @@
int timespec_cmp(struct timespec *a, str
/* Convert command line option to desired output unit */
int unitopt2unit(char *opt, enum s2s_unit *space_unit, enum s2s_unit *inode_unit);
+/* Implementation of the GNU basename(3) version */
+#define basename(src) (strrchr(src,'/') ? strrchr(src,'/')+1 : src)
+
#endif /* GUARD_COMMON_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