Browse Source

opensmtpd: added some musl patches and marked crosscompilable if requested. WIP!

master
Nagy Károly Gábriel 8 years ago
parent
commit
c354173be1
2 changed files with 41 additions and 2 deletions
  1. +39
    -0
      base/musl/pkg/opensmtpd/add_missing_includes.patch
  2. +2
    -2
      mail/opensmtpd/opensmtpd.desc

+ 39
- 0
base/musl/pkg/opensmtpd/add_missing_includes.patch

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

+ 2
- 2
mail/opensmtpd/opensmtpd.desc

@ -30,6 +30,6 @@
[L] BSD
[S] Stable
[V] 5.4.5p2
[P] X -----5---9 800.000
[P] X -?---5---9 800.000
[D] 0 opensmtpd-5.4.5p2.tar.gz https://www.opensmtpd.org/archives/
[D] 3886985941 opensmtpd-5.4.5p2.tar.gz https://www.opensmtpd.org/archives/

Loading…
Cancel
Save