catch up with header changes that have brought us in line with Free/NetBSD
This commit is contained in:
parent
b579b0f798
commit
a2d49bdec4
13
telephony/asterisk/patches/patch-include_asterisk_frame_h
Normal file
13
telephony/asterisk/patches/patch-include_asterisk_frame_h
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-include_asterisk_frame_h,v 1.1 2006/01/12 21:44:20 naddy Exp $
|
||||
--- include/asterisk/frame.h.orig Thu Jan 12 22:36:59 2006
|
||||
+++ include/asterisk/frame.h Thu Jan 12 22:37:12 2006
|
||||
@@ -30,9 +30,6 @@ extern "C" {
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|
||||
-#if defined(__OpenBSD__)
|
||||
-#include <machine/types.h>
|
||||
-#endif /* __OpenBSD__ */
|
||||
#include <machine/endian.h>
|
||||
#define __BYTE_ORDER BYTE_ORDER
|
||||
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
14
telephony/asterisk/patches/patch-md5_c
Normal file
14
telephony/asterisk/patches/patch-md5_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-md5_c,v 1.1 2006/01/12 21:44:21 naddy Exp $
|
||||
--- md5.c.orig Thu Jan 12 22:38:57 2006
|
||||
+++ md5.c Thu Jan 12 22:39:18 2006
|
||||
@@ -1,9 +1,6 @@
|
||||
/* MD5 checksum routines used for authentication. Not covered by GPL, but
|
||||
in the public domain as per the copyright below */
|
||||
-#if defined( __OpenBSD__ )
|
||||
-# include <machine/types.h>
|
||||
-# include <sys/endian.h>
|
||||
-#elif defined( __FreeBSD__ ) || defined( __NetBSD__ )
|
||||
+#if defined( __OpenBSD__ ) || defined( __FreeBSD__ ) || defined( __NetBSD__ )
|
||||
# include <sys/types.h>
|
||||
# include <sys/endian.h>
|
||||
#elif defined( BSD ) && ( BSD >= 199103 ) || defined(__APPLE__)
|
Loading…
x
Reference in New Issue
Block a user