diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2017-01-27 19:26:05 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2017-01-27 19:26:05 +0000 |
| commit | da27a9d0b202bf866e37cba6ab78032cbe98a8fe (patch) | |
| tree | f6b9df55cdbf17d5cfeeb5bcb90bd8d1d56838cb /security | |
| parent | update games/wtf to 20170126 snapshot from NetBSD (diff) | |
security/openiked: unbreak with libevent >= 2.1
checking libevent header version... not found
configure: error: libevent version header not found. -I/usr/local/include
===> Script "configure" failed unexpectedly.
PR: 216527
Diffstat (limited to 'security')
| -rw-r--r-- | security/openiked/files/patch-configure.ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/openiked/files/patch-configure.ac b/security/openiked/files/patch-configure.ac new file mode 100644 index 000000000000..5ce7751fb8dd --- /dev/null +++ b/security/openiked/files/patch-configure.ac @@ -0,0 +1,22 @@ +https://github.com/xcllnt/openiked/issues/11 + +--- configure.ac.orig 2017-01-13 04:16:22 UTC ++++ configure.ac +@@ -2232,7 +2232,7 @@ AC_RUN_IFELSE( + if(fd == NULL) + return(1); + +- if ((rc = fprintf(fd ,"%s\n", _EVENT_VERSION)) <0) ++ if ((rc = fprintf(fd ,"%s\n", LIBEVENT_VERSION)) <0) + return(1); + + return(0); +@@ -2308,7 +2308,7 @@ AC_RUN_IFELSE( + #include <stdlib.h> + #include <string.h> + ]], [[ +- exit(strcmp(event_get_version(), _EVENT_VERSION) == 0 ? 0 : 1); ++ exit(strcmp(event_get_version(), LIBEVENT_VERSION) == 0 ? 0 : 1); + ]])], + [ + AC_MSG_RESULT([yes]) |
