Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
e921dd2a
Commit
e921dd2a
authored
Apr 09, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc 4.0 fixes for libgcrypt
parent
a89423a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-0
extras/contrib/src/Patches/gcrypt.patch
extras/contrib/src/Patches/gcrypt.patch
+34
-0
No files found.
extras/contrib/src/Makefile
View file @
e921dd2a
...
...
@@ -1082,6 +1082,7 @@ libgcrypt-$(GCRYPT_VERSION).tar.gz:
libgcrypt
:
libgcrypt-$(GCRYPT_VERSION).tar.gz
$(EXTRACT_GZ)
patch
-p
0 < Patches/gcrypt.patch
.gcrypt
:
libgcrypt
(
cd
$<
;
./configure
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-D_BSD_SOCKLEN_T_=int"
&&
make
&&
make
install
)
...
...
extras/contrib/src/Patches/gcrypt.patch
0 → 100644
View file @
e921dd2a
diff -ruN libgcrypts.orig/cipher/serpent.c libgcrypt/cipher/serpent.c
--- libgcrypts.orig/cipher/serpent.c 2003-12-11 15:29:14.000000000 +0100
+++ libgcrypt/cipher/serpent.c 2005-04-09 18:58:57.000000000 +0200
@@ -55,6 +55,10 @@
serpent_subkeys_t keys; /* Generated subkeys. */
} serpent_context_t;
+/* A prototype. */
+static const char *serpent_test (void);
+
+
#define byte_swap_32(x) \
(0 \
| (((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) \
@@ -687,8 +691,6 @@
if (! serpent_init_done)
{
/* Execute a self-test the first time, Serpent is used. */
- static const char *serpent_test (void);
-
serpent_test_ret = serpent_test ();
if (serpent_test_ret)
log_error ("Serpent test failure: %s\n", serpent_test_ret);
diff -ruN libgcrypts.orig/src/gcrypt.h libgcrypt/src/gcrypt.h
--- libgcrypts.orig/src/gcrypt.h 2004-04-15 11:10:37.000000000 +0200
+++ libgcrypt/src/gcrypt.h 2005-04-09 18:57:14.000000000 +0200
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
/* This is required for error code compatibility. */
#define _GCRY_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_GCRYPT
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