- Fix build with libc++ 3.9

- Regenerate patches

PR:		214648
This commit is contained in:
Dmitry Marakasov 2016-11-24 16:15:14 +00:00
parent 75e62a992c
commit 9f5e6c7389
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427053
2 changed files with 14 additions and 2 deletions

View file

@ -1,5 +1,5 @@
--- src/Music.cxx.orig 2007-05-27 19:04:33.000000000 +0400
+++ src/Music.cxx 2013-09-13 22:00:04.632230761 +0400
--- src/Music.cxx.orig 2007-05-27 15:04:33 UTC
+++ src/Music.cxx
@@ -22,6 +22,7 @@
#include <assert.h>
#include <SDL_mixer.h>

View file

@ -0,0 +1,12 @@
--- src/binreloc.cxx.orig 2007-05-27 15:04:33 UTC
+++ src/binreloc.cxx
@@ -739,7 +739,8 @@ br_strndup (const char *str, size_t size
char *
br_dirname (const char *path)
{
- char *end, *result;
+ const char *end;
+ char *result;
if (path == (const char *) NULL)
return (char *) NULL;