openbsd-ports/games/openarena/patches/patch-code_sys_sys_unix_c
jakemsr 313837a2ff * use the sndio backend from games/quake, since ao uses (essentially)
the same audio engine as quake
* use -pthread instead of -lpthread for pthreads linkage
* oa defines an ALIGN macro, rename it to QALIGN to avoid clashing
  with the ALIGN macro from machine/param.h
* use /dev/arandom instead of /dev/urandom
ok jasper@
2010-05-27 03:47:28 +00:00

13 lines
372 B
Plaintext

$OpenBSD: patch-code_sys_sys_unix_c,v 1.1 2010/05/27 03:47:28 jakemsr Exp $
--- code/sys/sys_unix.c.orig Sat May 2 16:44:02 2009
+++ code/sys/sys_unix.c Sat May 2 16:44:21 2009
@@ -139,7 +139,7 @@ qboolean Sys_RandomBytes( byte *string, int len )
{
FILE *fp;
- fp = fopen( "/dev/urandom", "r" );
+ fp = fopen( "/dev/arandom", "r" );
if( !fp )
return qfalse;