Skip to content

Commit

Permalink
zlog: fix build on macOS <10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
aeiouaeiouaeiouaeiouaeiouaeiou committed Feb 23, 2025
1 parent 4656cbc commit 5b8b9da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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>

0 comments on commit 5b8b9da

Please sign in to comment.