Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / multimedia / avidemux / patches / patch-db
blobcf23ccda5c4c62e035568641bcb97c3b34cfaf26
1 $NetBSD$
3 --- avidemux/ADM_script/DirectorySearch.cpp.orig        2008-09-18 13:48:08 +0300
4 +++ avidemux/ADM_script/DirectorySearch.cpp     2008-09-18 13:48:39 +0300
5 @@ -29,7 +29,7 @@ int CDirectorySearch::_findnext(unsigned
6         strncpy(pfdData->name,pEntry->d_name,pEntry->d_reclen);
7         // append NULL terminator
8         pfdData->name[pEntry->d_reclen] = '\0';
9 -#elif defined(__FreeBSD__) || defined(__OpenBSD__)
10 +#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
11         strncpy(pfdData->name,pEntry->d_name,pEntry->d_namlen);
12         // append NULL terminator
13         pfdData->name[pEntry->d_namlen] = '\0';