mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
17 lines
494 B
Plaintext
17 lines
494 B
Plaintext
$NetBSD: patch-ao,v 1.1 2009/01/20 10:08:17 sketch Exp $
|
|
|
|
--- src/polkit-dbus/polkit-read-auth-helper.c.orig Tue Jan 20 09:52:20 2009
|
|
+++ src/polkit-dbus/polkit-read-auth-helper.c Tue Jan 20 09:53:15 2009
|
|
@@ -175,7 +175,11 @@
|
|
goto out;
|
|
}
|
|
|
|
+#ifdef HAVE_SOLARIS
|
|
+ dfd = dir->dd_fd;
|
|
+#else
|
|
dfd = dirfd (dir);
|
|
+#endif
|
|
if (dfd == -1) {
|
|
fprintf (stderr, "polkit-read-auth-helper: error calling dirfd(): %m\n");
|
|
goto out;
|