Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gerbv for openSUSE:Factory checked in at 2026-08-18 16:38:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gerbv (Old) and /work/SRC/openSUSE:Factory/.gerbv.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gerbv" Tue Aug 18 16:38:25 2026 rev:18 rq:1371767 version:2.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gerbv/gerbv.changes 2026-05-04 17:24:21.434515928 +0200 +++ /work/SRC/openSUSE:Factory/.gerbv.new.1258/gerbv.changes 2026-08-18 16:39:04.481495111 +0200 @@ -1,0 +2,6 @@ +Sat Aug 8 16:07:23 UTC 2026 - Wojciech Kazubski <[email protected]> + +- Patch gerbv-remove-unused-code.patch added to fix build for + Tumbleweed + +------------------------------------------------------------------- New: ---- gerbv-remove-unused-code.patch ----------(New B)---------- New: - Patch gerbv-remove-unused-code.patch added to fix build for Tumbleweed ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gerbv.spec ++++++ --- /var/tmp/diff_new_pack.inIzAM/_old 2026-08-18 16:39:05.333525601 +0200 +++ /var/tmp/diff_new_pack.inIzAM/_new 2026-08-18 16:39:05.336525709 +0200 @@ -27,6 +27,7 @@ URL: http://gerbv.geda-project.org/ Source0: https://github.com/gerbv/gerbv/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch1: gerbv-build-with-g++-13.patch +Patch2: gerbv-remove-unused-code.patch BuildRequires: cmake %if 0%{?suse_version} >= 1600 BuildRequires: gcc-c++ @@ -72,6 +73,9 @@ %if 0%{?suse_version} < 1600 %patch -P 1 -p1 %endif +%if 0%{?suse_version} > 1690 +%patch -P 2 -p1 +%endif %build %cmake --preset linux-gnu-gcc ++++++ gerbv-remove-unused-code.patch ++++++ diff -up gerbv-2.13.0/thirdparty/dxflib/dl_dxf.cpp.aaaa gerbv-2.13.0/thirdparty/dxflib/dl_dxf.cpp --- gerbv-2.13.0/thirdparty/dxflib/dl_dxf.cpp.aaaa 2026-08-08 17:20:22.966948995 +0200 +++ gerbv-2.13.0/thirdparty/dxflib/dl_dxf.cpp 2026-08-08 17:21:15.223089071 +0200 @@ -182,7 +182,7 @@ bool DL_Dxf::in(std::istream& stream, */ bool DL_Dxf::readDxfGroups(FILE *fp, DL_CreationInterface* creationInterface) { - static int line = 1; +// static int line = 1; // Read one group of the DXF file and strip the lines: if (DL_Dxf::getStrippedLine(groupCodeTmp, fp) && @@ -191,7 +191,7 @@ bool DL_Dxf::readDxfGroups(FILE *fp, DL_ groupCode = (unsigned int)toInt(groupCodeTmp); creationInterface->processCodeValuePair(groupCode, groupValue); - line+=2; +// line+=2; processDXFGroup(creationInterface, groupCode, groupValue); } @@ -212,7 +212,7 @@ bool DL_Dxf::readDxfGroups(FILE *fp, DL_ bool DL_Dxf::readDxfGroups(std::istream& stream, DL_CreationInterface* creationInterface) { - static int line = 1; +// static int line = 1; // Read one group of the DXF file and chop the lines: if (DL_Dxf::getStrippedLine(groupCodeTmp, DL_DXF_MAXLINE, stream) && @@ -220,7 +220,7 @@ bool DL_Dxf::readDxfGroups(std::istream& groupCode = (unsigned int)toInt(groupCodeTmp); - line+=2; +// line+=2; processDXFGroup(creationInterface, groupCode, groupValue); } return !stream.eof();
