Fix build with clang 3.9

PR:		212687
Submitted by:	emaste
Approved by:	maintainer timeout (1 month)
This commit is contained in:
Antoine Brodin 2016-10-19 22:08:17 +00:00
parent e32ddc047b
commit 38c4826bd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424293

View File

@ -0,0 +1,11 @@
--- src/ltdl.cpp.orig 2008-11-02 06:42:40 UTC
+++ src/ltdl.cpp
@@ -3361,7 +3361,7 @@ lt_dlopenext (
{
lt_dlhandle handle = 0;
char * tmp = 0;
- char * ext = 0;
+ const char * ext = 0;
size_t len;
int errors = 0;