Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-libbeecrypt
beecrypt-4.1.2-windows.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File beecrypt-4.1.2-windows.diff of Package mingw64-libbeecrypt
diff -urEbwB beecrypt-4.1.2/acinclude.m4 beecrypt-4.1.2/acinclude.m4 --- beecrypt-4.1.2/acinclude.m4 2010-09-25 01:40:40.000000000 +0200 +++ beecrypt-4.1.2/acinclude.m4 2010-09-25 01:43:47.000000000 +0200 @@ -1056,6 +1056,11 @@ bc_cv_asm_gsym_prefix,[ case $target_os in cygwin* | darwin*) bc_cv_asm_gsym_prefix="_" ;; + mingw*) + case $target_cpu in + x86_64) bc_cv_asm_gsym_prefix="";; + *) bc_cv_asm_gsym_prefix="_" ;; + esac ;; *) bc_cv_asm_gsym_prefix="" ;; esac ]) diff -urEbwB beecrypt-4.1.2/beecrypt.c beecrypt-4.1.2/beecrypt.c --- beecrypt-4.1.2/beecrypt.c 2004-10-28 09:10:36.000000000 +0200 +++ beecrypt-4.1.2/beecrypt.c 2010-09-25 01:41:50.000000000 +0200 @@ -895,7 +895,6 @@ } #if WIN32 -__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hInst, DWORD fdwReason, LPVOID lpReserved) { switch (fdwReason) diff -urEbwB beecrypt-4.1.2/configure.ac beecrypt-4.1.2/configure.ac --- beecrypt-4.1.2/configure.ac 2010-09-25 01:40:40.000000000 +0200 +++ beecrypt-4.1.2/configure.ac 2010-09-25 01:41:49.000000000 +0200 @@ -199,7 +199,7 @@ fi case $target_os in - cygwin*) + cygwin*|mingw*) AC_CHECK_LIB([winmm],[main]) ac_cv_lib_winmm=ac_cv_lib_winmm_main ;; esac @@ -416,7 +416,7 @@ AC_MSG_CHECKING([for platform-specific entropy devices]) AC_MSG_RESULT() case $target_os in -cygwin*) +cygwin*|mingw*) AC_MSG_CHECKING([for wavein]) AC_MSG_RESULT(yes) AC_MSG_CHECKING([for wincrypt]) @@ -454,7 +454,7 @@ esac case $target_os in -cygwin*) +cygwin*|mingw*) ;; *) AC_MSG_CHECKING([for generic entropy devices]) diff -urEbwB beecrypt-4.1.2/gas/asmdefs.m4 beecrypt-4.1.2/gas/asmdefs.m4 --- beecrypt-4.1.2/gas/asmdefs.m4 2004-12-19 16:21:24.000000000 +0100 +++ beecrypt-4.1.2/gas/asmdefs.m4 2010-09-25 01:41:50.000000000 +0200 @@ -28,6 +28,17 @@ define(USE_TYPE_DIRECTIVE,yes) ') +ifelse(substr(ASM_OS,0,5),mingw,` +define(USE_TYPE_DIRECTIVE,yes) +define(SYMTYPE,` + .def SYMNAME($1); .scl 2; .type 32; .endef +') +define(C_FUNCTION_END,` + .section .drectve + .ascii " -export:$1" +') +') + ifelse(substr(ASM_OS,0,6),cygwin,` define(USE_TYPE_DIRECTIVE,yes) define(SYMTYPE,` diff -urEbwB beecrypt-4.1.2/win.h beecrypt-4.1.2/win.h --- beecrypt-4.1.2/win.h 2004-12-19 16:23:32.000000000 +0100 +++ beecrypt-4.1.2/win.h 2010-09-25 01:41:49.000000000 +0200 @@ -47,6 +47,8 @@ # else # error Unknown CPU type in Microsoft Visual C # endif +#elif defined(__GNUC__) +# define WORDS_BIGENDIAN 0 #else # error Unknown compiler for WIN32 #endif @@ -84,6 +86,12 @@ #define HAVE_DEV_URANDOM 0 #define HAVE_DEV_TTY 0 +#elif defined(__GNUC__) +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <inttypes.h> +#include <stdint.h> #else #error Not set up for this compiler #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor