rebuilt with fix for aarch64 [release 1.13-3mamba;Thu Dec 29 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:23:23 +01:00
parent c1f0b3ff05
commit f301fbe2d2
2 changed files with 25 additions and 8 deletions

View File

@ -0,0 +1,11 @@
--- ppa_syslog.h 2021-04-01 14:50:32.369176172 +0200
+++ ppa_syslog.h.patched 2021-04-01 14:51:01.486226082 +0200
@@ -39,7 +39,7 @@
#include <syslog.h>
#endif
-char syslog_message[128];
+static char syslog_message[128];
extern size_t message_size ;
void wrap_syslog( int, char *, char *);

View File

@ -1,26 +1,29 @@
Name: pnm2ppa Name: pnm2ppa
Version: 1.13 Version: 1.13
Release: 2mamba Release: 3mamba
Summary: pnm2ppa converts from pnm to ppa (a closed HP printing protocol) Summary: pnm2ppa converts from pnm to ppa (a closed HP printing protocol)
Group: Applications/Graphics Group: Applications/Graphics
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pnm2ppa.sourceforge.net/ URL: https://pnm2ppa.sourceforge.net/
Source: http://garr.dl.sourceforge.net/project/pnm2ppa/pnm2ppa/%{version}/pnm2ppa-%{version}.tar.gz Source: https://downloads.sourceforge.net/project/pnm2ppa/pnm2ppa/%{version}/pnm2ppa-%{version}.tar.gz
Patch0: pnm2ppa-1.13-missing-ppa_syslog_static.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description %description
PPA (Printing Performance Architecture) is a closed, proprietary protocol developed by Hewlett Packard for a short-lived series of DeskJet printers. In essence, the PPA protocol moves the low-level processing of the data to the host computer rather than the printer. This allows for a low-cost (to produce) printer with a small amount of memory and computing power. PPA (Printing Performance Architecture) is a closed, proprietary protocol developed by Hewlett Packard for a short-lived series of DeskJet printers. In essence, the PPA protocol moves the low-level processing of the data to the host computer rather than the printer. This allows for a low-cost (to produce) printer with a small amount of memory and computing power.
%debug_package
%prep %prep
%setup -q %setup -q
%patch0 -p0 -b .missing-ppa_syslog_static
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build %build
%configure %configure
@ -38,9 +41,12 @@ PPA (Printing Performance Architecture) is a closed, proprietary protocol develo
%config %{_sysconfdir}/pnm2ppa.conf %config %{_sysconfdir}/pnm2ppa.conf
%{_bindir}/calibrate_ppa %{_bindir}/calibrate_ppa
%{_bindir}/pnm2ppa %{_bindir}/pnm2ppa
%{_mandir}/man1/pnm2ppa.1.gz %{_mandir}/man1/pnm2ppa.1*
%changelog %changelog
* Thu Dec 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-3mamba
- rebuilt with fix for aarch64
* Tue Feb 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba * Tue Feb 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- added build requirements - added build requirements