Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d8a15b2779 | |||
| 91d83d291f |
23
pgpdump-gcc15.patch
Normal file
23
pgpdump-gcc15.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
diff --git a/packet.c b/packet.c
|
||||
index b6f3665..bdd3d3e 100644
|
||||
--- a/packet.c
|
||||
+++ b/packet.c
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "pgpdump.h"
|
||||
|
||||
-typedef void (*funcptr)();
|
||||
+typedef void (*funcptr)(int);
|
||||
|
||||
private int get_new_len(int);
|
||||
private int is_partial(int);
|
||||
@@ -91,7 +91,7 @@ TAG[] = {
|
||||
#define TAG_NUM (sizeof(TAG) * sizeof(string))
|
||||
|
||||
private void
|
||||
-(*tag_func[])() = {
|
||||
+(*tag_func[])(int) = {
|
||||
Reserved,
|
||||
Public_Key_Encrypted_Session_Key_Packet,
|
||||
Signature_Packet,
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 13 12:12:27 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- build with gcc15
|
||||
- added patches
|
||||
fix https://github.com/kazu-yamamoto/pgpdump/commit/541442dc04259bde680b46742522177be40cc065
|
||||
+ pgpdump-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 15:54:00 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#
|
||||
# spec file for package pgpdump
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -23,6 +24,8 @@ Summary: PGP packet visualizer
|
||||
License: BSD-3-Clause
|
||||
URL: https://www.mew.org/~kazu/proj/pgpdump/en/
|
||||
Source: https://www.mew.org/~kazu/proj/pgpdump/%{name}-%{version}.tar.gz
|
||||
# https://github.com/kazu-yamamoto/pgpdump/commit/541442dc04259bde680b46742522177be40cc065
|
||||
Patch0: pgpdump-gcc15.patch
|
||||
|
||||
%description
|
||||
pgpdump is a PGP packet visualizer which displays the packet format of OpenPGP
|
||||
|
||||
Reference in New Issue
Block a user