Files
haikuports/dev-libs/libgcrypt/patches/libgcrypt-1.4.5.patch
2010-04-27 05:18:02 +00:00

21 lines
709 B
Diff
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
diff -Naur libgcrypt-1.4.5/configure.ac libgcrypt-1.4.5-haiku/configure.ac
--- libgcrypt-1.4.5/configure.ac 2009-12-11 15:43:15.025165824 +0000
+++ libgcrypt-1.4.5-haiku/configure.ac 2010-04-27 00:48:26.807141376 +0000
@@ -574,12 +574,16 @@
[AC_SEARCH_LIBS(setsockopt, [socket], , , [-lnsl])])
AC_SEARCH_LIBS(setsockopt, [nsl])
+# Haiku has everything in -lnetwork
+AC_SEARCH_LIBS(socket, [network]) 
+
##################################
#### Checks for header files. ####
##################################
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/select.h)
+AC_CHECK_HEADERS(sys/select.h sys/time.h)
##########################################
#### Checks for typedefs, structures, ####