cryptlib/cryptlib.patch

Wed, 01 Aug 2012 23:37:13 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:37:13 +0200
changeset 434
66c3db5d26f6
permissions
-rw-r--r--

Hack up to build 64 bit bins and libs on 64 bit platforms, why not?
...I just hope this is a portable way to do it, using the '-m64' switch.

     1 Index: random/unix.c
     2 --- random/unix.c.orig	2005-08-23 00:48:20 +0200
     3 +++ random/unix.c	2005-09-06 20:55:10 +0200
     4 @@ -24,6 +24,9 @@
     5  #include <stdio.h>
     6  #include <string.h>
     7  #include <time.h>
     8 +#ifdef __FreeBSD__
     9 +#include <pthread.h>
    10 +#endif
    11  #include "crypt.h"
    13  /* Unix and Unix-like systems share the same makefile, make sure that the

mercurial