Compare commits

..

No commits in common. "rawhide" and "f31" have entirely different histories.

2 changed files with 3 additions and 128 deletions

View file

@ -1,75 +0,0 @@
diff -Nrup a/src/u_deep.c b/src/u_deep.c
--- a/src/u_deep.c 2006-06-25 09:30:30.000000000 -0600
+++ b/src/u_deep.c 2019-10-15 13:54:07.360163470 -0600
@@ -17,9 +17,9 @@
#include "getbits.h"
-INLINE USHORT DecodeChar(void);
-INLINE USHORT DecodePosition(void);
-INLINE void update(USHORT c);
+static INLINE USHORT DecodeChar(void);
+static INLINE USHORT DecodePosition(void);
+static INLINE void update(USHORT c);
static void reconst(void);
@@ -98,7 +98,7 @@ USHORT Unpack_DEEP(UCHAR *in, UCHAR *out
-INLINE USHORT DecodeChar(void){
+static INLINE USHORT DecodeChar(void){
USHORT c;
c = son[R];
@@ -117,7 +117,7 @@ INLINE USHORT DecodeChar(void){
-INLINE USHORT DecodePosition(void){
+static INLINE USHORT DecodePosition(void){
USHORT i, j, c;
i = GETBITS(8); DROPBITS(8);
@@ -171,7 +171,7 @@ static void reconst(void){
/* increment frequency of given code by one, and update tree */
-INLINE void update(USHORT c){
+static INLINE void update(USHORT c){
USHORT i, j, k, l;
if (freq[R] == MAX_FREQ) {
diff -Nrup a/src/u_heavy.c b/src/u_heavy.c
--- a/src/u_heavy.c 2006-06-25 09:30:30.000000000 -0600
+++ b/src/u_heavy.c 2019-10-15 13:53:03.543524151 -0600
@@ -30,8 +30,8 @@ USHORT heavy_text_loc;
static USHORT read_tree_c(void);
static USHORT read_tree_p(void);
-INLINE USHORT decode_c(void);
-INLINE USHORT decode_p(void);
+static INLINE USHORT decode_c(void);
+static INLINE USHORT decode_p(void);
@@ -74,7 +74,7 @@ USHORT Unpack_HEAVY(UCHAR *in, UCHAR *ou
-INLINE USHORT decode_c(void){
+static INLINE USHORT decode_c(void){
USHORT i, j, m;
j = c_table[GETBITS(12)];
@@ -96,7 +96,7 @@ INLINE USHORT decode_c(void){
-INLINE USHORT decode_p(void){
+static INLINE USHORT decode_p(void){
USHORT i, j, m;
j = pt_table[GETBITS(8)];

View file

@ -1,13 +1,11 @@
Name: xdms
Version: 1.3.2
Release: 39%{?dist}
Release: 23%{?dist}
Summary: Extracts Amiga DMS archives
License: LicenseRef-Fedora-Public-Domain
License: Public Domain
URL: http://zakalwe.fi/~shd/foss/%{name}
Source0: http://zakalwe.fi/~shd/foss/%{name}/%{name}-%{version}.tar.bz2
Patch0: inline.patch
BuildRequires: make
BuildRequires: gcc
%description
Extracts Amiga DMS (Disk Masher) archives which are compressed Amiga disk
@ -16,7 +14,7 @@ images. Xdms is particularly useful with Amiga emulators.
%prep
%setup -q
%patch -P0 -p1
%build
# Non standard configure script that does not support libdir for example.
@ -40,54 +38,6 @@ install -p -m0755 src/xdms %{buildroot}%{_bindir}
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jul 07 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.3.2-32
- Convert to SPDX license.
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Oct 21 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.3.2-24
- Patch for gcc 10.
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild