Compare commits
29 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8eec0022ab | ||
|
|
09ea770d5d | ||
|
|
cd690e90e4 | ||
|
|
87bf9d3265 | ||
|
|
73e2de51e9 | ||
|
|
76781cb591 | ||
|
|
536c0e4d3d | ||
|
|
e5be22ab75 | ||
|
|
2da137a42e | ||
|
|
fd945c9dc7 | ||
|
|
69baccb8e4 | ||
|
|
1bab4f976c | ||
|
|
f7a9a286a4 | ||
|
|
dcbcc38164 | ||
|
|
49bbc95f3a | ||
|
|
2caf1b17db | ||
|
|
21f39c3fdd | ||
|
|
30851ba634 | ||
|
|
ae666cd12c | ||
|
|
0b7892f67a | ||
| 6bc1e74b69 | |||
|
aed65a2f2a |
|||
|
|
bb71e4b1dc | ||
|
|
56480a84a7 | ||
|
e2e0411e68 |
|||
| 6f177999c3 | |||
|
|
3284556905 | ||
|
|
906a9a9b7d | ||
|
|
30a4d6813e |
2 changed files with 147 additions and 9 deletions
75
inline.patch
Normal file
75
inline.patch
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
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)];
|
||||
81
xdms.spec
81
xdms.spec
|
|
@ -1,13 +1,14 @@
|
|||
Name: xdms
|
||||
Version: 1.3.2
|
||||
Release: 17%{?dist}
|
||||
Release: 39%{?dist}
|
||||
Summary: Extracts Amiga DMS archives
|
||||
Group: Applications/Archiving
|
||||
License: Public Domain
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
URL: http://zakalwe.fi/~shd/foss/%{name}
|
||||
Source0: http://zakalwe.fi/~shd/foss/%{name}/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Patch0: inline.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
%description
|
||||
Extracts Amiga DMS (Disk Masher) archives which are compressed Amiga disk
|
||||
images. Xdms is particularly useful with Amiga emulators.
|
||||
|
|
@ -15,7 +16,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.
|
||||
|
|
@ -31,18 +32,80 @@ install -p -m0644 xdms.1 %{buildroot}%{_mandir}/man1
|
|||
install -p -m0755 src/xdms %{buildroot}%{_bindir}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/xdms
|
||||
%{_mandir}/man1/xdms.1.*
|
||||
%doc ChangeLog.txt %{name}.txt
|
||||
|
||||
|
||||
%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
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue