netpbm, revbump, fixes gcc2 build (#10738)

This commit is contained in:
Schrijvers Luc
2024-07-24 10:29:31 +02:00
committed by GitHub
parent 329a7d5119
commit a0cb81463e
2 changed files with 32 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ COPYRIGHT="2001 411toppm: Steve Allen
1987-1991 yuvtoppm: Jef Poskanzer, Abekas Video Systems Inc., DHD PostImage Inc.
1993 zeisstopnm: Oliver Trepte"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://sourceforge.net/projects/netpbm/files/super_stable/$portVersion/netpbm-$portVersion.tgz"
CHECKSUM_SHA256="d4d2ca69d82b8d8518aee1d0a2f400664324afa8237859386764a41784d497f6"
PATCHES="netpbm-$portVersion.patchset"

View File

@@ -1,4 +1,4 @@
From 3c5f0745e18f350ba0a3dc771bba08217614b11c Mon Sep 17 00:00:00 2001
From 7fd4056398de720bc08316e0c9f77ca76c89912d Mon Sep 17 00:00:00 2001
From: reds <reds@sakamoto.pl>
Date: Sat, 14 Dec 2019 20:30:06 +0100
Subject: fixes ppmtompeg typedefs
@@ -37,3 +37,33 @@ index 59c33c7..487c142 100644
--
2.45.2
From 53be2a0eb2845a3d5037c6712f54f9736d402cd1 Mon Sep 17 00:00:00 2001
From: Schrijvers Luc <begasus@gmail.com>
Date: Wed, 24 Jul 2024 10:23:11 +0200
Subject: 32bit parse error fix
diff --git a/editor/specialty/pnmindex.c b/editor/specialty/pnmindex.c
index 438fe05..3de3beb 100644
--- a/editor/specialty/pnmindex.c
+++ b/editor/specialty/pnmindex.c
@@ -292,6 +292,7 @@ makeTempDir(const char ** const tempDirP) {
validateTmpdir(tmpdir);
+ {
const char * mytmpdir;
int rc;
@@ -304,6 +305,7 @@ makeTempDir(const char ** const tempDirP) {
mytmpdir, errno, strerror(errno));
*tempDirP = mytmpdir;
+ }
}
--
2.45.2