Skip to content

Commit

Permalink
some fixes for building with old Kauth releases;
Browse files Browse the repository at this point in the history
  • Loading branch information
F1ash committed Jun 14, 2022
1 parent 8bf9323 commit e5cdd7b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Changelog
Expand Up @@ -85,6 +85,6 @@ v.1.24.17 :
implemented re-initialization action
for in tray menu for ver.2;

v.1.24.19 :
v.1.24.20 :
fixed deprecated headers;
some fixes for building with old Kauth releases;
5 changes: 4 additions & 1 deletion dnscrypt-proxy-gui.spec
Expand Up @@ -2,7 +2,7 @@
%global app_name DNSCryptClient

Name: dnscrypt-proxy-gui
Version: 1.24.18
Version: 1.24.20
Release: 1%{?dist}
Summary: GUI wrapper for dnscrypt-proxy
License: GPLv2+
Expand Down Expand Up @@ -92,6 +92,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{app_name}.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{app_name}.png

%changelog
* Mon Jun 6 2022 Fl@sh <kaperang07@gmail.com> - 1.24.20-1
- version updated;

* Mon Jun 6 2022 Fl@sh <kaperang07@gmail.com> - 1.24.18-1
- version updated;

Expand Down
12 changes: 4 additions & 8 deletions src/helpers/job_helper/dnscrypt_client_helper.h
@@ -1,13 +1,9 @@
#if defined(KAUTHCORE_ENABLE_DEPRECATED_SINCE)
#include <kauth_version.h>
#if KAUTH_VERSION < ((5<<16)|(92<<8)|(0))
#include <kauth.h>
#else
#include <kauth/kauthcore_export.h>
#if KAUTHCORE_ENABLE_DEPRECATED_SINCE(5, 92)
#include <kauth/actionreply.h>
#include <kauth/helpersupport.h>
#else
#include <kauth.h>
#endif
#include <kauth/actionreply.h>
#include <kauth/helpersupport.h>
#endif
using namespace KAuth;

Expand Down
12 changes: 4 additions & 8 deletions src/helpers/reload_helper/dnscrypt_client_reload_helper.h
@@ -1,13 +1,9 @@
#if defined(KAUTHCORE_ENABLE_DEPRECATED_SINCE)
#include <kauth_version.h>
#if KAUTH_VERSION < ((5<<16)|(92<<8)|(0))
#include <kauth.h>
#else
#include <kauth/kauthcore_export.h>
#if KAUTHCORE_ENABLE_DEPRECATED_SINCE(5, 92)
#include <kauth/actionreply.h>
#include <kauth/helpersupport.h>
#else
#include <kauth.h>
#endif
#include <kauth/actionreply.h>
#include <kauth/helpersupport.h>
#endif
using namespace KAuth;

Expand Down
12 changes: 4 additions & 8 deletions src/helpers/test_helper/dnscrypt_client_test_helper.h
@@ -1,13 +1,9 @@
#if defined(KAUTHCORE_ENABLE_DEPRECATED_SINCE)
#include <kauth_version.h>
#if KAUTH_VERSION < ((5<<16)|(92<<8)|(0))
#include <kauth.h>
#else
#include <kauth/kauthcore_export.h>
#if KAUTHCORE_ENABLE_DEPRECATED_SINCE(5, 92)
#include <kauth/actionreply.h>
#include <kauth/helpersupport.h>
#else
#include <kauth.h>
#endif
#include <kauth/actionreply.h>
#include <kauth/helpersupport.h>
#endif
using namespace KAuth;

Expand Down

0 comments on commit e5cdd7b

Please sign in to comment.