Patch-Source: https://github.com/gentoo/gentoo/blob/dce914f2bbf52360f45c90d877857df3c4c2a353/app-arch/xar/files/xar-1.8-safe_dirname.patch

linuxattr: fix missing symbol safe_dirname

This one was probably missed when they did a global rename to xar_
prefixed variants.

--- a/lib/linuxattr.c
+++ b/lib/linuxattr.c
@@ -223,7 +223,7 @@
 	if( statfs(file, &sfs) != 0 ) {
 		char *tmp, *bname;
 		tmp = strdup(file);
-		bname = safe_dirname(tmp);
+		bname = xar_safe_dirname(tmp);
 		statfs(bname, &sfs);
 		free(tmp);
 		free(bname);
