crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

args.patch (1586B)


      1 Add missing arguments
      2 
      3 Ref https://github.com/polkit-org/polkit/commit/64f5e4dda5240702ea3ad5d00ba8c5207fbacf72
      4 
      5 --- a/src/polkitbackend/polkitbackendduktapeauthority.c
      6 +++ b/src/polkitbackend/polkitbackendduktapeauthority.c
      7 @@ -767,12 +767,14 @@ runaway_killer_common(PolkitBackendJsAuthority *authority, RunawayKillerCtx *ctx
      8  #ifdef HAVE_PTHREAD_CONDATTR_SETCLOCK
      9    if ((pthread_err = pthread_condattr_init(&attr))) {
     10      polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
     11 +                                  LOG_LEVEL_ERROR,
     12                                    "Error initializing condition variable attributes: %s",
     13                                    strerror(pthread_err));
     14      return FALSE;
     15    }
     16    if ((pthread_err = pthread_condattr_setclock(&attr, PK_CLOCK))) {
     17      polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
     18 +                                  LOG_LEVEL_ERROR,
     19                                    "Error setting condition variable attributes: %s",
     20                                    strerror(pthread_err));
     21      goto err_clean_condattr;
     22 @@ -780,6 +782,7 @@ runaway_killer_common(PolkitBackendJsAuthority *authority, RunawayKillerCtx *ctx
     23    /* Init again, with needed attr */
     24    if ((pthread_err = pthread_cond_init(&ctx->cond, &attr))) {
     25      polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
     26 +                                  LOG_LEVEL_ERROR,
     27                                    "Error initializing condition variable: %s",
     28                                    strerror(pthread_err));
     29      goto err_clean_condattr;