Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zlog: fix build on macOS <10.9 #27743

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions devel/zlog/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ long_description {*}${description}
checksums rmd160 f9969c546b2008b5aa9e3fdb01afb1facb8f239b \
sha256 3977dc8ea0069139816ec4025b320d9a7fc2035398775ea91429e83cb0d1ce4e \
size 130997

patchfiles-append patch-stdint.diff
11 changes: 11 additions & 0 deletions devel/zlog/files/patch-stdint.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
event.c:106:5: error: use of undeclared identifier 'uint64_t'
--- src/event.c
+++ src/event.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
+#include <stdint.h>

#include <pthread.h>
#include <unistd.h>