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
54b6f4aa
Commit
54b6f4aa
authored
Mar 25, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
0 deletions
+92
-0
Makefile
Makefile
+7
-0
oath-toolkit-2.6.2-gcc7.patch
oath-toolkit-2.6.2-gcc7.patch
+72
-0
oath-toolkit-2.6.2.tar.gz
oath-toolkit-2.6.2.tar.gz
+0
-0
oath-toolkit.groups
oath-toolkit.groups
+13
-0
No files found.
Makefile
0 → 100644
View file @
54b6f4aa
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
cd
oath-toolkit-2.6.2
&&
./configure
--prefix
=
/usr
$(MAKE)
-C
oath-toolkit-2.6.2
$(MAKE)
-C
oath-toolkit-2.6.2
install
rm
-rf
oath-toolkit-2.6.2
oath-toolkit-2.6.2-gcc7.patch
0 → 100644
View file @
54b6f4aa
diff -uNr oath-toolkit-2.6.2/liboath/gl/tests/intprops.h oath-toolkit-2.6.2-gcc7/liboath/gl/tests/intprops.h
--- oath-toolkit-2.6.2/liboath/gl/tests/intprops.h 2016-08-27 20:45:06.000000000 +0930
+++ oath-toolkit-2.6.2-gcc7/liboath/gl/tests/intprops.h 2018-06-21 17:33:08.947071366 +0930
@@ -230,11 +230,11 @@
(e.g., A and B) have the same type as MIN and MAX. Instead, they assume
that the result (e.g., A + B) has that type. */
#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
-# define _GL_ADD_OVERFLOW(a, b, min, max)
+# define _GL_ADD_OVERFLOW(a, b, min, max) \
__builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
__builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
__builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
#else
# define _GL_ADD_OVERFLOW(a, b, min, max) \
diff -uNr oath-toolkit-2.6.2/libpskc/gl/intprops.h oath-toolkit-2.6.2-gcc7/libpskc/gl/intprops.h
--- oath-toolkit-2.6.2/libpskc/gl/intprops.h 2016-08-27 20:45:06.000000000 +0930
+++ oath-toolkit-2.6.2-gcc7/libpskc/gl/intprops.h 2018-06-21 17:33:34.711161836 +0930
@@ -230,11 +230,11 @@
(e.g., A and B) have the same type as MIN and MAX. Instead, they assume
that the result (e.g., A + B) has that type. */
#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
-# define _GL_ADD_OVERFLOW(a, b, min, max)
+# define _GL_ADD_OVERFLOW(a, b, min, max) \
__builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
__builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
__builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
#else
# define _GL_ADD_OVERFLOW(a, b, min, max) \
diff -uNr oath-toolkit-2.6.2/oathtool/gl/intprops.h oath-toolkit-2.6.2-gcc7/oathtool/gl/intprops.h
--- oath-toolkit-2.6.2/oathtool/gl/intprops.h 2016-08-27 20:45:06.000000000 +0930
+++ oath-toolkit-2.6.2-gcc7/oathtool/gl/intprops.h 2018-06-21 17:33:50.922218761 +0930
@@ -230,11 +230,11 @@
(e.g., A and B) have the same type as MIN and MAX. Instead, they assume
that the result (e.g., A + B) has that type. */
#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
-# define _GL_ADD_OVERFLOW(a, b, min, max)
+# define _GL_ADD_OVERFLOW(a, b, min, max) \
__builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
__builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
__builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
#else
# define _GL_ADD_OVERFLOW(a, b, min, max) \
diff -uNr oath-toolkit-2.6.2/pskctool/gl/intprops.h oath-toolkit-2.6.2-gcc7/pskctool/gl/intprops.h
--- oath-toolkit-2.6.2/pskctool/gl/intprops.h 2016-08-27 20:45:06.000000000 +0930
+++ oath-toolkit-2.6.2-gcc7/pskctool/gl/intprops.h 2018-06-21 17:34:03.562263147 +0930
@@ -230,11 +230,11 @@
(e.g., A and B) have the same type as MIN and MAX. Instead, they assume
that the result (e.g., A + B) has that type. */
#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
-# define _GL_ADD_OVERFLOW(a, b, min, max)
+# define _GL_ADD_OVERFLOW(a, b, min, max) \
__builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
__builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
__builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
#else
# define _GL_ADD_OVERFLOW(a, b, min, max) \
oath-toolkit-2.6.2.tar.gz
0 → 100644
View file @
54b6f4aa
File added
oath-toolkit.groups
0 → 100644
View file @
54b6f4aa
bin
/usr/bin/.*
/usr/share/xml/.*
doc
/usr/share/gtk-doc/.*
man
/usr/share/man/.*
headers
/usr/include/.*
pkg
/usr/lib/pkgconfig/.*
lib
/usr/lib/lib.*
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