diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/ccze/files/ccze-fbsd.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/ccze/files/ccze-fbsd.patch')
-rw-r--r-- | app-admin/ccze/files/ccze-fbsd.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-admin/ccze/files/ccze-fbsd.patch b/app-admin/ccze/files/ccze-fbsd.patch new file mode 100644 index 000000000000..ae694e0e4423 --- /dev/null +++ b/app-admin/ccze/files/ccze-fbsd.patch @@ -0,0 +1,25 @@ +--- a/src/ccze-compat.h ++++ b/src/ccze-compat.h +@@ -29,6 +29,11 @@ + #include <stddef.h> + #include <stdio.h> + ++# ifndef __error_t_defined ++typedef int error_t; ++# define __error_t_defined 1 ++# endif ++ + #ifndef HAVE_STRNDUP + char *strndup (const char *s, size_t size); + #endif +--- a/src/ccze-compat.c ++++ b/src/ccze-compat.c +@@ -275,7 +275,7 @@ + char **valuep) + { + int i = getsubopt (optionp, tokens, valuep); +-#if HAVE_SUBOPTARg ++#if HAVE_SUBOPTARG + if (!*valuep && suboptarg) + *valuep = strdup (suboptarg); + #endif |