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
ae5851d0
Commit
ae5851d0
authored
6 months ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
community/usb-moded: fix build with gcc-14
parent
b3faa337
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
community/usb-moded/APKBUILD
+2
-0
2 additions, 0 deletions
community/usb-moded/APKBUILD
community/usb-moded/basename.patch
+12
-0
12 additions, 0 deletions
community/usb-moded/basename.patch
with
14 additions
and
0 deletions
community/usb-moded/APKBUILD
+
2
−
0
View file @
ae5851d0
...
...
@@ -30,6 +30,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/sailfishos/usb-moded/archive
https://github.com/sailfishos-mirror/dbus-glib/archive/
$_commit_dbus_glib
/dbus-glib-
$_commit_dbus_glib
.tar.gz
usb-moded.confd
usb-moded.initd
basename.patch
"
options
=
"!check"
# No test suite available
builddir
=
"
$srcdir
/
$pkgname
-mer-
${
_pkgver
/+/-
}
"
...
...
@@ -76,4 +77,5 @@ e01072b119e672d5df9ae2ac59c47e9027bfedf1281427efd98774f2db955382bce6026f927a2d37
665cd6395ee0ea14086ba30188c62a72697b3f63484681e18fc7f54109c9aca162f2e33aa2fa4d45287c6c0b590e81ca310c143dac0232cd5887692cdaf51256 dbus-glib-d42176ae4763e5288ef37ea314fe58387faf2005.tar.gz
b841282b96110ec59a7aa539db0737327b09549d55c78dc4b2c3b28b4a6ad1facf015b3175cb6d3a38f13e47aa6314ef3dc1514a4e60dd653a97409ec54ba706 usb-moded.confd
28c2d1e594d0be7d480885c1d3d38a2e33d310363a51093f19daf69221d173df5a03d04f1b7dfba3bcdb00697715123313441216a016efc8d11151daaa0ae4ea usb-moded.initd
8e15fcdcb5199c7c9deffc417035e2260aa7d4a437056f2ab9141c33220618da59324b87cbcebe9857d0269b170f98e2ea703c69b6543cbae237555cc6e297a4 basename.patch
"
This diff is collapsed.
Click to expand it.
community/usb-moded/basename.patch
0 → 100644
+
12
−
0
View file @
ae5851d0
diff -upr usb-moded-mer-0.86.0-mer66.orig/src/usb_moded.c usb-moded-mer-0.86.0-mer66/src/usb_moded.c
--- usb-moded-mer-0.86.0-mer66.orig/src/usb_moded.c 2024-08-28 20:24:01.495130829 +0200
+++ usb-moded-mer-0.86.0-mer66/src/usb_moded.c 2024-08-28 20:25:30.838474437 +0200
@@ -175,6 +175,8 @@
static pthread_mutex_t usbmoded_mutex =
}\
}while(0)
+#define basename(name) (strrchr((name),'/') ? strrchr((name),'/')+1 : (name))
+
/* ========================================================================= *
* Functions
* ========================================================================= */
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