media-gfx/sfftobmp: drop 3.1.2-r3

Bug: https://bugs.gentoo.org/968784
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-02-14 14:33:57 +01:00
parent d090e93bd9
commit 1e46dec3cf
5 changed files with 0 additions and 138 deletions
-1
View File
@@ -1,2 +1 @@
DIST sfftobmp-3.1.4_p20250813.tar.gz 7274212 BLAKE2B cad075033a9c487658722ee3e044955eb5849b9e4af235e1f75b3f62bfaa5a8a3693c6c9d81879784f9442c65bf40a7a9bc1f6053e0afa5d7937e8df1964efb5 SHA512 1ed1af8ed61b20c9237c3281622ec3dad2c07aec4216395ad1faf7982c14597c8c3558d2cad810f8e73ac9110380d801953178a6e88cb8dc39eb6e162d740c71
DIST sfftobmp3_1_2_src.zip 121478 BLAKE2B fe5e09d358cfa75a45a05e780fcf8b3409ae9791882c8c4ab3fe99b078cade57a75751343c42a5d7764702ca32565e8c97d417e3c095c10a01b6fcd0f09f03b3 SHA512 3c460dcd60486954f792ecc8e864d109dabbae30b56a6ba4b3228a42dd489fd88793e4d93e2d032e6cd1c552bf5e217bc2afb3eae85a1a4e1db340f7761905b7
@@ -1,11 +0,0 @@
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -163,7 +163,7 @@
m_pFile->Write(acBuf, strlen(acBuf));
sprintf(acBuf, "%s", "# generated with SffToBmp\n");
m_pFile->Write(acBuf, strlen(acBuf));
- sprintf(acBuf, "%ld %ld\n", aWidth, aHeight);
+ sprintf(acBuf, "%u %u\n", aWidth, aHeight);
m_pFile->Write(acBuf, strlen(acBuf));
}
@@ -1,63 +0,0 @@
https://www.boost.org/doc/libs/1_85_0/libs/filesystem/doc/deprecated.html
--- a/src/cmdline.cpp
+++ b/src/cmdline.cpp
@@ -41,7 +41,6 @@
#include <iostream>
#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/convenience.hpp>
#include <tiff.h>
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -41,7 +41,6 @@
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/convenience.hpp>
extern "C"
{
@@ -172,10 +171,10 @@ int main( int argc, char *argv[] )
if (pathOutFileName.string().length()) {
// A fixed name was given, so use it as a base name
outPath = pathOutFileName;
- std::string orgExt = fs::extension(outPath);
+ std::string orgExt = outPath.extension().string();
if (nFileCountOut > 1) {
sprintf(acNumber, "_%03d", nPage+1);
- outPath = fs::change_extension(outPath, acNumber);
+ outPath.replace_extension(acNumber);
if (orgExt.length()) {
std::string strTemp = outPath.string();
strTemp += orgExt;
@@ -184,15 +183,15 @@ int main( int argc, char *argv[] )
}
} else {
// Otherwise construct output filename from input filename
- outPath = pathOutDirectory / pathInFileName.leaf();
+ outPath = pathOutDirectory / pathInFileName.filename();
if (nFileCountOut > 1) {
sprintf(acNumber, "_%03d", nPage+1);
- outPath = fs::change_extension(outPath, acNumber);
+ outPath.replace_extension(acNumber);
std::string strTemp = outPath.string();
strTemp += pOut->GetExtension();
outPath = fs::path(strTemp);
} else {
- outPath = fs::change_extension(outPath, pOut->GetExtension());
+ outPath.replace_extension(pOut->GetExtension());
}
}
if (!proc.doOverwrite() && !((nPage > 0) && (nFileCountOut == 1)) && fs::exists(outPath)) {
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -42,7 +42,6 @@
#include <iostream>
#include <boost/filesystem/path.hpp>
-#include <boost/filesystem/convenience.hpp>
#ifdef WIN32
#include <io.h>
@@ -1,21 +0,0 @@
http://bugs.gentoo.org/425364
--- a/src/cmdline.cpp
+++ b/src/cmdline.cpp
@@ -264,14 +264,14 @@
}
do {
if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
- m_vFiles.push_back( fs::path(fd.cFileName, fs::native) );
+ m_vFiles.push_back( fs::path(fd.cFileName) );
}
} while (::FindNextFile(hFind, &fd));
::FindClose(hFind);
#else
int n = optind;
while (n < m_argc) {
- m_vFiles.push_back( fs::path(m_argv[n], fs::native) );
+ m_vFiles.push_back( fs::path(m_argv[n]) );
++n;
}
#endif
@@ -1,42 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
MY_P=${PN}${PV//./_}
DESCRIPTION="sff to bmp converter"
HOMEPAGE="https://sfftools.sourceforge.io/"
SRC_URI="https://downloads.sourceforge.net/sfftools/${MY_P}_src.zip"
S="${WORKDIR}/${MY_P}"
LICENSE="HPND MIT"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
RDEPEND="
dev-libs/boost:=
media-libs/libjpeg-turbo:=
media-libs/tiff:=
"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip"
PATCHES=(
"${FILESDIR}"/${PN}-3.1.1-gcc44-and-boost-1_37.patch
"${FILESDIR}"/${PN}-3.1.2-boost_fs3.patch
"${FILESDIR}"/${PN}-3.1.2-Wformat.patch
"${FILESDIR}"/${PN}-3.1.2-boost-1.85.patch
)
src_prepare() {
default
eautoreconf
}
src_install() {
default
dodoc doc/{changes,credits,readme}
}