From 2e7df8936fdda7ad5002646d6b8f43d4b454a706 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Fri, 9 Mar 2007 17:15:06 +0000 Subject: - Updated to 4.b14 - It compiles on amd64 too --- graphics/py-visual/files/patch-src-gtk2-random_device.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/py-visual/files/patch-src-gtk2-random_device.cpp (limited to 'graphics/py-visual/files/patch-src-gtk2-random_device.cpp') diff --git a/graphics/py-visual/files/patch-src-gtk2-random_device.cpp b/graphics/py-visual/files/patch-src-gtk2-random_device.cpp new file mode 100644 index 000000000000..150b1a017d07 --- /dev/null +++ b/graphics/py-visual/files/patch-src-gtk2-random_device.cpp @@ -0,0 +1,11 @@ +--- src/gtk2/random_device.cpp Sat Jul 31 20:20:28 2004 ++++ src/gtk2/random_device.cpp.port Tue Mar 6 13:17:28 2007 +@@ -32,7 +32,7 @@ + #endif + + // Known to be supported for GNU/Linux and Apple OSX. Probably others as well. +-#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) ++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__)) + + // the default is the unlimited capacity device, using some secure hash + // try "/dev/random" for blocking when the entropy pool has drained -- cgit v1.2.3