1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/security/libkpass/files/patch-src_kpass.c
Pawel Pekala c3aad0ba12 - Update security/libkpass to version 5 [1]
- Force libkpass to link with gettext, library uses symbols from
  libintl without linking to it - this creates problems for
  consumers (only for ckpass right now)
- Update security/ckpass to version 0.2 [2]

PR:		ports/177561 [1]
PR:		ports/177562 [2]
Submitted by:	Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer)
2013-05-02 12:06:21 +00:00

15 lines
329 B
C

--- src/kpass.c.orig 2013-04-01 18:36:50.878364960 +0000
+++ src/kpass.c 2013-04-01 18:37:43.162887560 +0000
@@ -23,7 +23,11 @@
#include <nettle/aes.h>
#include <nettle/sha.h>
#include <nettle/cbc.h>
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
#include <byteswap.h>
+#endif
#include <time.h>
#include <libintl.h>