File fix-attribute-deprecated-decl.patch of Package libdecaf-1.0.2-fedora-opensuse-archlinux-debian-ubuntu-raspbian

--- a/src/per_curve/eddsa.tmpl.h
+++ b/src/per_curve/eddsa.tmpl.h
@@ -143,7 +143,7 @@
     uint8_t context_len
 ) __attribute__((nonnull(1,2,3))) DECAF_NOINLINE
 #if DECAF_EDDSA_NON_KEYPAIR_API_IS_DEPRECATED
-  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe",
+  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe, use "
         "decaf_ed$(gf_shortname)_keypair_sign")))
 #endif
 ;
@@ -171,7 +171,7 @@
     uint8_t context_len
 ) __attribute__((nonnull(1,2,3,4))) DECAF_NOINLINE
 #if DECAF_EDDSA_NON_KEYPAIR_API_IS_DEPRECATED
-  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe",
+  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe, use "
         "decaf_ed$(gf_shortname)_keypair_sign_prehash")))
 #endif
 ;
openSUSE Build Service is sponsored by