File otp-R16B-rpath.patch of Package erlang

diff -U 3 -H -d -r -N -x .git -x .svn -- otp_src_R16B/lib/crypto/c_src/Makefile.in otp_src_R16B.rpath/lib/crypto/c_src/Makefile.in
--- otp_src_R16B/lib/crypto/c_src/Makefile.in	2013-02-25 20:21:31.000000000 +0100
+++ otp_src_R16B.rpath/lib/crypto/c_src/Makefile.in	2013-02-27 15:57:38.439375246 +0100
@@ -85,7 +85,7 @@
 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
diff -U 3 -H -d -r -N -x .git -x .svn -- otp_src_R16B/lib/crypto/priv/Makefile otp_src_R16B.rpath/lib/crypto/priv/Makefile
--- otp_src_R16B/lib/crypto/priv/Makefile	2013-02-25 20:21:31.000000000 +0100
+++ otp_src_R16B.rpath/lib/crypto/priv/Makefile	2013-02-27 15:57:38.439375246 +0100
@@ -60,7 +60,7 @@
 # ----------------------------------------------------
 
 $(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)
diff -U 3 -H -d -r -N -x .git -x .svn -- otp_src_R16B/lib/odbc/c_src/odbcserver.c otp_src_R16B.rpath/lib/odbc/c_src/odbcserver.c
--- otp_src_R16B/lib/odbc/c_src/odbcserver.c	2013-02-25 20:21:31.000000000 +0100
+++ otp_src_R16B.rpath/lib/odbc/c_src/odbcserver.c	2013-02-27 15:59:08.176307849 +0100
@@ -105,6 +105,8 @@
 #ifdef UNIX
 #include <unistd.h>
 #include <netinet/tcp.h>
+#include <ctype.h>
+#include <arpa/inet.h>
 #endif 
 
 #if defined WIN32
openSUSE Build Service is sponsored by