summaryrefslogtreecommitdiff
path: root/sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-11-18 17:42:52 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-11-18 17:42:52 +0000
commitc5912aade0fa8db9f4220f524f3277b947517d4c (patch)
tree2eac0a46120f84eee02514da1b0a4067cff2d46a /sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c
parentX-tile is a gnome applet for your panel (or optionally a standalone (diff)
- Unbreak and update to 4.03
- Fix and rename patches to match file names - Depend on perl5 only during build - Make portlint happy - Replace with sed and do it in pre-patch stage - Use DATADIR and MANPREFIX PR: ports/152300 Approved by: luigi (maintainer, private e-mail)
Notes
Notes: svn path=/head/; revision=264784
Diffstat (limited to 'sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c')
-rw-r--r--sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c b/sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c
new file mode 100644
index 000000000000..c3eaa532ef13
--- /dev/null
+++ b/sysutils/syslinux/files/patch-com32-libutil-sha256crypt.c
@@ -0,0 +1,14 @@
+diff -ubwr ./com32/libutil/sha256crypt.c ../../work/syslinux-3.72/com32/libutil/sha256crypt.c
+--- ./com32/libutil/sha256crypt.c 2008-09-26 01:46:02.000000000 +0200
++++ ../../work/syslinux-3.72/com32/libutil/sha256crypt.c 2008-11-25 11:32:22.000000000 +0100
+@@ -1,8 +1,8 @@
+ /* SHA256-based Unix crypt implementation.
+ Released into the Public Domain by Ulrich Drepper <drepper@redhat.com>. */
+
+-#include <alloca.h>
+-#include <endian.h>
++#include <stdlib.h>
++#include <machine/endian.h>
+ #include <errno.h>
+ #include <limits.h>
+ #include <stdint.h>