summaryrefslogtreecommitdiff
path: root/packages/openntpd/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openntpd/files')
-rw-r--r--packages/openntpd/files/.mtn2git_empty0
-rw-r--r--packages/openntpd/files/autofoo.patch52
2 files changed, 52 insertions, 0 deletions
diff --git a/packages/openntpd/files/.mtn2git_empty b/packages/openntpd/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openntpd/files/.mtn2git_empty
diff --git a/packages/openntpd/files/autofoo.patch b/packages/openntpd/files/autofoo.patch
index e69de29bb2..605558e6fd 100644
--- a/packages/openntpd/files/autofoo.patch
+++ b/packages/openntpd/files/autofoo.patch
@@ -0,0 +1,52 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- openntpd-3.6.1p1/configure.ac~autofoo
++++ openntpd-3.6.1p1/configure.ac
+@@ -500,8 +500,11 @@
+ [
+ AC_MSG_RESULT(not found)
+ AC_MSG_ERROR(OpenSSL version header not found.)
+- ]
+-)
++ ],[
++ AC_MSG_RESULT(unknown)
++ AC_MSG_WARN(Skipping OpenSSL header version check due to crosscompilation.)
++
++])
+
+ # Determine OpenSSL library version
+ AC_MSG_CHECKING([OpenSSL library version])
+@@ -533,6 +536,9 @@
+ [
+ AC_MSG_RESULT(not found)
+ AC_MSG_ERROR(OpenSSL library not found.)
++ ],[
++ AC_MSG_RESULT(unknown)
++ AC_MSG_WARN(Skipping OpenSSL library version check due to crosscompilation.)
+ ]
+ )
+
+@@ -552,6 +558,9 @@
+ AC_MSG_ERROR([Your OpenSSL headers do not match your library.
+ Check config.log for details.
+ Also see contrib/findssl.sh for help identifying header/library mismatches.])
++ ],[
++ AC_MSG_RESULT(unknown)
++ AC_MSG_WARN(Skipping OpenSSL version comparison due to crosscompilation.)
+ ]
+ )
+
+@@ -572,6 +581,10 @@
+ [
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR(OpenNTPd requires a self-seeding OpenSSL)
++ ],
++ [
++ AC_MSG_RESULT(cross, assuming yes)
++ OPENSSL_SEEDS_ITSELF=yes
+ ]
+ )
+ fi