Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oath-toolkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
oath-toolkit
Commits
1fe63383
Commit
1fe63383
authored
Sep 21, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patched oath-toolkit to work with glibc 2.28
parent
54b6f4aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
Makefile
Makefile
+1
-0
oath-toolkit-2.6.2-fix_glibc_2.28.patch
oath-toolkit-2.6.2-fix_glibc_2.28.patch
+21
-0
No files found.
Makefile
View file @
1fe63383
all
:
tar
xf oath-toolkit-2.6.2.tar.gz
patch
-Np1
-d
oath-toolkit-2.6.2 < oath-toolkit-2.6.2-gcc7.patch
patch
-Np1
-d
oath-toolkit-2.6.2 < oath-toolkit-2.6.2-fix_glibc_2.28.patch
cd
oath-toolkit-2.6.2
&&
./configure
--prefix
=
/usr
$(MAKE)
-C
oath-toolkit-2.6.2
$(MAKE)
-C
oath-toolkit-2.6.2
install
...
...
oath-toolkit-2.6.2-fix_glibc_2.28.patch
0 → 100644
View file @
1fe63383
diff -uNr oath-toolkit-2.6.2/liboath/gl/fseeko.c oath-toolkit-2.6.2-fix_glibc_2.28/liboath/gl/fseeko.c
--- oath-toolkit-2.6.2/liboath/gl/fseeko.c 2016-08-27 20:45:06.000000000 +0930
+++ oath-toolkit-2.6.2-fix_glibc_2.28/liboath/gl/fseeko.c 2019-09-17 04:16:07.283027444 +0930
@@ -47,7 +47,7 @@
#endif
/* These tests are based on fpurge.c. */
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
if (fp->_IO_read_end == fp->_IO_read_ptr
&& fp->_IO_write_ptr == fp->_IO_write_base
&& fp->_IO_save_base == NULL)
@@ -123,7 +123,7 @@
return -1;
}
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
fp->_flags &= ~_IO_EOF_SEEN;
fp->_offset = pos;
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment