Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pidgin-otr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plugins
pidgin-otr
Commits
fbf0c821
Commit
fbf0c821
authored
Oct 20, 2014
by
Ian Goldberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update patches for cross-compiling on mingw32
There are small patches for libgpg-error and for libgcrypt
parent
2ccc9ff3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
35 deletions
+49
-35
patches/win32/gcrypt-1.5.4-mingw.diff
patches/win32/gcrypt-1.5.4-mingw.diff
+24
-0
patches/win32/gpg-error-1.17-mingw.diff
patches/win32/gpg-error-1.17-mingw.diff
+25
-0
patches/win32/libgcrypt-config.h.patch
patches/win32/libgcrypt-config.h.patch
+0
-7
patches/win32/rndw32.diff
patches/win32/rndw32.diff
+0
-28
No files found.
patches/win32/gcrypt-1.5.4-mingw.diff
0 → 100644
View file @
fbf0c821
--- ltmain.sh.orig 2014-08-07 16:21:31.000000000 +0100
+++ ltmain.sh 2014-10-18 19:29:30.200877263 +0100
@@ -5851,9 +5851,10 @@
# -tp=* Portland pgcc target processor selection
# --sysroot=* for sysroot support
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -fstack-protector* stack protector flags for GCC
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
- -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
+ -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*)
func_quote_for_eval "$arg"
arg="$func_quote_for_eval_result"
func_append compile_command " $arg"
--- autogen.sh.orig 2014-10-20 14:05:57.538483259 +0100
+++ autogen.sh 2014-10-20 14:07:56.806478288 +0100
@@ -140,6 +140,7 @@
$tsdir/configure --enable-maintainer-mode --prefix=${w32root} \
--host=${host} --build=${build} \
+ --enable-static --disable-shared \
--with-gpg-error-prefix=${w32root}
exit $?
fi
patches/win32/gpg-error-1.17-mingw.diff
0 → 100644
View file @
fbf0c821
--- build-aux/ltmain.sh.orig 2014-01-10 14:00:06.000000000 +0000
+++ build-aux/ltmain.sh 2014-10-18 19:05:57.464936154 +0100
@@ -5855,9 +5855,10 @@
# -tp=* Portland pgcc target processor selection
# --sysroot=* for sysroot support
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -fstack-protector* stack protector flags for GCC
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
- -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
+ -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*)
func_quote_for_eval "$arg"
arg="$func_quote_for_eval_result"
func_append compile_command " $arg"
--- src/Makefile.in.orig 2014-10-18 19:24:18.096890273 +0100
+++ src/Makefile.in 2014-10-18 19:24:30.668889749 +0100
@@ -451,7 +451,7 @@
@HAVE_W32_SYSTEM_TRUE@export_symbols = -export-symbols gpg-error.def
@HAVE_W32_SYSTEM_TRUE@libgpg_error_la_DEPENDENCIES = $(gpg_error_res) gpg-error.def
@HAVE_W32_SYSTEM_FALSE@intllibs = @LTLIBINTL@
-@HAVE_W32_SYSTEM_TRUE@intllibs =
+@HAVE_W32_SYSTEM_TRUE@intllibs = @LTLIBINTL@
@HAVE_LD_VERSION_SCRIPT_FALSE@libgpg_error_vers_opt =
#
patches/win32/libgcrypt-config.h.patch
deleted
100644 → 0
View file @
2ccc9ff3
--- config.h 2012-08-21 22:03:41.119779064 -0700
+++ config.h 2012-08-21 22:04:27.999779052 -0700
@@ -312,3 +312,4 @@
#define _GCRYPT_IN_LIBGCRYPT 1
+#undef HAVE_GETTIMEOFDAY
patches/win32/rndw32.diff
deleted
100644 → 0
View file @
2ccc9ff3
--- cipher/rndw32.c.orig 2003-12-11 10:46:12.000000000 -0500
+++ cipher/rndw32.c 2005-01-18 09:45:26.000000000 -0500
@@ -238,6 +238,8 @@
/* Walk through the local heap */
{ HEAPLIST32 hl32;
+ DWORD dwHeapsAdded = 0;
+ const DWORD maxHeapsToAdd = 500;
hl32.dwSize = sizeof (HEAPLIST32);
if (pHeap32ListFirst (hSnapshot, &hl32)) {
if ( debug_me )
@@ -254,12 +256,16 @@
if (pHeap32First (&he32, hl32.th32ProcessID, hl32.th32HeapID)){
do {
(*add) ( &he32, sizeof (he32), requester );
+ if (++dwHeapsAdded == maxHeapsToAdd) {
+ goto doneheap;
+ }
} while (pHeap32Next (&he32));
}
} while (pHeap32ListNext (hSnapshot, &hl32));
}
}
+doneheap:
/* Walk through all processes */
{ PROCESSENTRY32 pe32;
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