libshairport: add upstream patches

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-11-10 04:51:57 +01:00
parent 19545b6b54
commit d5f9b33f77
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,24 @@
--- a/src/shairport.h 2011-10-01 04:09:16.000000000 +0200
+++ b/src/shairport.h 2011-11-07 18:05:05.000000000 +0100
@@ -16,10 +16,17 @@
#define HWID_SIZE 6
#define SHAIRPORT_LOG 1
-#define LOG_INFO 1
-#define LOG_DEBUG 5
-#define LOG_DEBUG_V 6
-#define LOG_DEBUG_VV 7
+
+#ifndef LOG_INFO
+#define LOG_INFO 5
+#endif
+
+#ifndef LOG_DEBUG
+#define LOG_DEBUG 6
+#endif
+
+#define LOG_DEBUG_V 7
+#define LOG_DEBUG_VV 8
struct shairbuffer
{

View File

@ -0,0 +1,21 @@
--- a/configure.in-org 2011-11-08 11:53:42.802419355 -0500
+++ b/configure.in 2011-11-08 11:55:38.082419413 -0500
@@ -11,8 +11,9 @@ AC_PROG_LIBTOOL
# Checks for libraries.
#AC_CHECK_LIB([c], [main])
-#AC_CHECK_LIB([m], [main])
+AC_CHECK_LIB([m], [main])
AC_CHECK_LIB([ssl], [main],, AC_MSG_ERROR($missing_library))
+AC_CHECK_LIB([crypto], [main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([pthread], [main],, AC_MSG_ERROR($missing_library))
OUTPUT_FILES="Makefile"
@@ -21,4 +22,4 @@ LIBDIR=$PREFIX
AC_CONFIG_FILES([${OUTPUT_FILES}])
AC_OUTPUT(Makefile src/Makefile)
-AC_OUTPUT
\ No newline at end of file
+AC_OUTPUT