1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Commit the right patch, with the right name to the right port; it was

forgotten in the previous commit:

  Log:
    - Update to 0.3.11
    - Remove files/patch-src::lookup.c (adopted upstream)
    - Remove files/patch-Makefile; replicate instead in Makefile while respecting
    custom LOCALBASE

    PR:             141004
    Submitted by:   Sahil Tandon
    Approved by:    maintainer

Submitted by:	maintainer
This commit is contained in:
Ion-Mihai Tetcu 2010-01-12 21:36:58 +00:00
parent 74150cd30b
commit ace25a2493
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247741

View File

@ -0,0 +1,17 @@
--- ./compat/bsd/stdlib/arc4random.h.orig 2009-11-29 07:02:28.000000000 +0200
+++ ./compat/bsd/stdlib/arc4random.h 2010-01-12 23:27:24.000000000 +0200
@@ -379,11 +379,11 @@
#ifndef HAVE_ARC4RANDOM_BUF
-#if defined __OpenBSD__
+#if defined __OpenBSD__ || defined __FreeBSD__
-#include <sys/param.h> /* OpenBSD */
+#include <sys/param.h> /* OpenBSD, FreeBSD */
-#if OpenBSD >= 200811
+#if OpenBSD >= 200811 || __FreeBSD_version >= 800107
#define HAVE_ARC4RANDOM_BUF 1
#else
#define HAVE_ARC4RANDOM_BUF 0