OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../musl/pkg/opensmtpd/add_missing_includes.patch
  5. # Copyright (C) 2015 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From 3a4e9aaf4a4afba93e48c4a9e7629eac816be4a9 Mon Sep 17 00:00:00 2001
  17. From: Gilles Chehade <gilles@poolp.org>
  18. Date: Mon, 12 Jan 2015 10:30:12 +0100
  19. Subject: [PATCH] fparseln() uses a FILE and therefore needs stdio.h, I'm
  20. pulling string.h also as it seems to be needed too.
  21. ---
  22. openbsd-compat/openbsd-compat.h | 2 ++
  23. 1 file changed, 2 insertions(+)
  24. diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
  25. index b0300e7..e345a9d 100644
  26. --- a/openbsd-compat/openbsd-compat.h
  27. +++ b/openbsd-compat/openbsd-compat.h
  28. @@ -193,6 +193,8 @@ char * fgetln(FILE *stream, size_t *len);
  29. #endif
  30. #ifndef HAVE_FPARSELN
  31. +#include <stdio.h>
  32. +#include <string.h>
  33. char * fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], int flags);
  34. #endif