File dvdauthor-0.7.0_glibc-2.20.patch of Package dvdauthor

Index: src/compat.h
===================================================================
--- src/compat.h.orig
+++ src/compat.h
@@ -146,12 +146,14 @@ int strtosigned
     program on error. */
 
 #ifndef HAVE_STRNDUP
+#ifndef __strndup
 char * strndup
   (
     const char * s,
     size_t n
   );
 #endif
+#endif
 
 char * sprintf_alloc
   (
openSUSE Build Service is sponsored by