openbsd-ports/games/amoebax/patches/patch-src_binreloc_cxx

14 lines
294 B
Plaintext

Index: src/binreloc.cxx
--- src/binreloc.cxx.orig
+++ 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;