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
4076ab58
Commit
4076ab58
authored
6 years ago
by
Ariadne Conill
Browse files
Options
Downloads
Patches
Plain Diff
main/python3: make xattr functions work (from adelie)
parent
a4242e97
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
main/python3/APKBUILD
+3
-1
3 additions, 1 deletion
main/python3/APKBUILD
main/python3/fix-xattrs-glibc.patch
+15
-0
15 additions, 0 deletions
main/python3/fix-xattrs-glibc.patch
with
18 additions
and
1 deletion
main/python3/APKBUILD
+
3
−
1
View file @
4076ab58
...
...
@@ -5,7 +5,7 @@ pkgname=python3
# the python2-tkinter's pkgver needs to be synchronized with this.
pkgver
=
3.6.6
_basever
=
"
${
pkgver
%.*
}
"
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"A high-level scripting language"
url
=
"http://www.python.org"
arch
=
"all"
...
...
@@ -16,6 +16,7 @@ subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-tests::noarch
makedepends
=
"expat-dev libressl-dev zlib-dev ncurses-dev bzip2-dev xz-dev
sqlite-dev libffi-dev tcl-dev linux-headers gdbm-dev readline-dev"
source
=
"https://www.python.org/ftp/python/
$pkgver
/Python-
$pkgver
.tar.xz
fix-xattrs-glibc.patch
musl-find_library.patch
"
builddir
=
"
$srcdir
/Python-
$pkgver
"
...
...
@@ -141,4 +142,5 @@ wininst() {
}
sha512sums
=
"c71f87c5906e770322a14cacad228655659f782207db826320449d12bf86091c3662f317e1773158dec52f8b052eaedfb4c03b561cc2a6cfcd381597fd2d2b04 Python-3.6.6.tar.xz
37b6ee5d0d5de43799316aa111423ba5a666c17dc7f81b04c330f59c1d1565540eac4c585abe2199bbed52ebe7426001edb1c53bd0a17486a2a8e052d0f494ad fix-xattrs-glibc.patch
ab8eaa2858d5109049b1f9f553198d40e0ef8d78211ad6455f7b491af525bffb16738fed60fc84e960c4889568d25753b9e4a1494834fea48291b33f07000ec2 musl-find_library.patch"
This diff is collapsed.
Click to expand it.
main/python3/fix-xattrs-glibc.patch
0 → 100644
+
15
−
0
View file @
4076ab58
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 8f8ba25..72b92da 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -103,8 +103,9 @@
corresponding Unix manual entries for more information on calls.");
#undef HAVE_SCHED_SETAFFINITY
#endif
-#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
+#if defined(HAVE_SYS_XATTR_H) && defined(__linux__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
#define USE_XATTRS
+#include <linux/limits.h>
#endif
#ifdef USE_XATTRS
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