LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File otp-R16B-rpath.patch of Package erlang (Project devel:languages:erlang)

Index: otp_src_R16B03/lib/crypto/c_src/Makefile.in
===================================================================
--- otp_src_R16B03.orig/lib/crypto/c_src/Makefile.in
+++ otp_src_R16B03/lib/crypto/c_src/Makefile.in
@@ -85,7 +85,7 @@ endif
 DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
 
 ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
-SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@
+SSL_DED_LD_RUNTIME_LIBRARY_PATH =
 CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME)
 EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB
 else
Index: otp_src_R16B03/lib/crypto/priv/Makefile
===================================================================
--- otp_src_R16B03.orig/lib/crypto/priv/Makefile
+++ otp_src_R16B03/lib/crypto/priv/Makefile
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto.o
 # ----------------------------------------------------
 
 $(SO_NIFLIB): $(OBJS)
-	$(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \
+	$(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \
 	-o $@ $^ -lcrypto
 
 $(DLL_NIFLIB): $(OBJS)
Index: otp_src_R16B03/lib/odbc/c_src/odbcserver.c
===================================================================
--- otp_src_R16B03.orig/lib/odbc/c_src/odbcserver.c
+++ otp_src_R16B03/lib/odbc/c_src/odbcserver.c
@@ -105,6 +105,8 @@
 #ifdef UNIX
 #include <unistd.h>
 #include <netinet/tcp.h>
+#include <ctype.h>
+#include <arpa/inet.h>
 #endif 
 
 #if defined WIN32