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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Jakub Panek
aports
Commits
cefd4657
Commit
cefd4657
authored
10 years ago
by
Ariadne Conill
Browse files
Options
Downloads
Patches
Plain Diff
main/python: allow 64-bit arguments to ioctl()
parent
e6efea9f
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/python/APKBUILD
+8
-4
8 additions, 4 deletions
main/python/APKBUILD
main/python/unchecked-ioctl.patch
+11
-0
11 additions, 0 deletions
main/python/unchecked-ioctl.patch
with
19 additions
and
4 deletions
main/python/APKBUILD
+
8
−
4
View file @
cefd4657
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
pkgname
=
python
pkgname
=
python
pkgver
=
2.7.6
pkgver
=
2.7.6
_verbase
=
${
pkgver
%.*
}
_verbase
=
${
pkgver
%.*
}
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"A high-level scripting language"
pkgdesc
=
"A high-level scripting language"
url
=
"http://www.python.org"
url
=
"http://www.python.org"
arch
=
"all"
arch
=
"all"
...
@@ -17,6 +17,7 @@ makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
...
@@ -17,6 +17,7 @@ makedepends="expat-dev openssl-dev zlib-dev ncurses-dev bzip2-dev
source
=
"http://www.
$pkgname
.org/ftp/
$pkgname
/
$pkgver
/Python-
$pkgver
.tar.xz
source
=
"http://www.
$pkgname
.org/ftp/
$pkgname
/
$pkgver
/Python-
$pkgver
.tar.xz
fix-posix-close-clash.patch
fix-posix-close-clash.patch
find_library.patch
find_library.patch
unchecked-ioctl.patch
"
"
prepare
()
{
prepare
()
{
...
@@ -97,10 +98,13 @@ gdbm() {
...
@@ -97,10 +98,13 @@ gdbm() {
md5sums
=
"bcf93efa8eaf383c98ed3ce40b763497 Python-2.7.6.tar.xz
md5sums
=
"bcf93efa8eaf383c98ed3ce40b763497 Python-2.7.6.tar.xz
10103fd4c0f5476aac7330c09e31b32e fix-posix-close-clash.patch
10103fd4c0f5476aac7330c09e31b32e fix-posix-close-clash.patch
22e32fddd3a973172f2fd570f8c5c416 find_library.patch"
22e32fddd3a973172f2fd570f8c5c416 find_library.patch
d8a04d003acd406359119e5f13ea004e unchecked-ioctl.patch"
sha256sums
=
"1fd68e81f8bf7386ff239b7faee9ba387129d2cf34eab13350bd8503a0bff6a1 Python-2.7.6.tar.xz
sha256sums
=
"1fd68e81f8bf7386ff239b7faee9ba387129d2cf34eab13350bd8503a0bff6a1 Python-2.7.6.tar.xz
08daec45cdd42d5bef137de5e569661ec0375ace1d0429fddd7a97d4d746aed2 fix-posix-close-clash.patch
08daec45cdd42d5bef137de5e569661ec0375ace1d0429fddd7a97d4d746aed2 fix-posix-close-clash.patch
452f9dc842316bcacfd7d6547ac5c1faaa286568cc782db1c0099464bc913946 find_library.patch"
452f9dc842316bcacfd7d6547ac5c1faaa286568cc782db1c0099464bc913946 find_library.patch
6dc53eec707e3efba3606e0b0e4522aef26668b47401fe232cf09874e8873348 unchecked-ioctl.patch"
sha512sums
=
"e56e6cdd96ff7bcb680d11ad606c00f4264e413fc43ba7605b2d2e4a743fd6e464cbedabf18b461f742102e936f45d840302a99665b5f988b1df08b25285c238 Python-2.7.6.tar.xz
sha512sums
=
"e56e6cdd96ff7bcb680d11ad606c00f4264e413fc43ba7605b2d2e4a743fd6e464cbedabf18b461f742102e936f45d840302a99665b5f988b1df08b25285c238 Python-2.7.6.tar.xz
95cff3d1e9f6e7f7d766f4e87cd199cae4f983f7274285dffa59a72bd684601d03da942f0c2f9b18e6f1955e2a975b75cb6950cbe7f4eda6e7b7d8c55efcc05e fix-posix-close-clash.patch
95cff3d1e9f6e7f7d766f4e87cd199cae4f983f7274285dffa59a72bd684601d03da942f0c2f9b18e6f1955e2a975b75cb6950cbe7f4eda6e7b7d8c55efcc05e fix-posix-close-clash.patch
a1ea61266bb56358158de4036f5be0ad579b44ae616fe0f8d5cef59610886daed73979308c26e56f944435167a6bb8cc6278e6f97f9a72b5f5786d3c31668fc2 find_library.patch"
a1ea61266bb56358158de4036f5be0ad579b44ae616fe0f8d5cef59610886daed73979308c26e56f944435167a6bb8cc6278e6f97f9a72b5f5786d3c31668fc2 find_library.patch
1e0251d464af01dac336b9f2e9abdb57e7d67594d0b3036057974f9f06c29e07c1570cb8129e2c0b8300e6511ffad9cb1889d8f857715f3670abde567ec1081c unchecked-ioctl.patch"
This diff is collapsed.
Click to expand it.
main/python/unchecked-ioctl.patch
0 → 100644
+
11
−
0
View file @
cefd4657
--- Python-2.7.6.orig/Modules/fcntlmodule.c
+++ Python-2.7.6/Modules/fcntlmodule.c
@@ -118,7 +118,7 @@
int mutate_arg = 1;
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
+ if (PyArg_ParseTuple(args, "O&Iw#|I:ioctl",
conv_descriptor, &fd, &code,
&str, &len, &mutate_arg)) {
char *arg;
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