Recognize hppa as a big-endian platform and unbreak on this arch. Bump VERSION.
ok landry@
This commit is contained in:
parent
3f5443cdbd
commit
4f6c7fc057
@ -1,12 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2014/09/27 07:55:46 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2014/09/27 11:25:01 miod Exp $
|
||||
|
||||
COMMENT = ZRTP library
|
||||
#error "Libzrtp can't detect byte order: use manual setup in zrtp_config_user.h"
|
||||
#error "Can't define byte order for BG AES. Edit zrtp_system.h"
|
||||
BROKEN-hppa = no endianness definition
|
||||
|
||||
DISTNAME = libzrtp-0.20130317
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
CATEGORIES = telephony security
|
||||
|
||||
HOMEPAGE = https://github.com/traviscross/libzrtp
|
||||
|
20
telephony/libzrtp/patches/patch-include_zrtp_config_h
Normal file
20
telephony/libzrtp/patches/patch-include_zrtp_config_h
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-include_zrtp_config_h,v 1.1 2014/09/27 11:25:01 miod Exp $
|
||||
|
||||
Recognize hppa as a big-endian platform.
|
||||
|
||||
--- include/zrtp_config.h.orig Sun Mar 17 18:35:45 2013
|
||||
+++ include/zrtp_config.h Sat Sep 27 10:40:11 2014
|
||||
@@ -101,6 +101,13 @@
|
||||
*/
|
||||
#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
|
||||
|
||||
+#elif defined(__hppa__) || defined(__hppa64__)
|
||||
+
|
||||
+/*
|
||||
+ * PA-RISC, big endian
|
||||
+ */
|
||||
+#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
|
||||
+
|
||||
#endif /* Automatic byte order detection */
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user