Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package prboom-plus for openSUSE:Leap:16.0 checked in at 2025-06-19 17:55:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/prboom-plus (Old) and /work/SRC/openSUSE:Leap:16.0/.prboom-plus.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "prboom-plus" Thu Jun 19 17:55:33 2025 rev:2 rq:1286958 version:2.6.66 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/prboom-plus/prboom-plus.changes 2025-03-19 11:54:56.554395123 +0100 +++ /work/SRC/openSUSE:Leap:16.0/.prboom-plus.new.19631/prboom-plus.changes 2025-06-19 17:55:35.777355914 +0200 @@ -1,0 +2,12 @@ +Thu Mar 20 21:26:43 UTC 2025 - Jan Engelhardt <jeng...@inai.de> + +- Deactivate libpcre integration. This disables the command line + option `-auto`, which was used for for autoloading WADs according + to the LMP demo file name. + +------------------------------------------------------------------- +Sun Nov 3 00:28:07 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Add gcc14.diff + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo build.specials.obscpio gcc14.diff ----------(New B)---------- New: - Add gcc14.diff ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ prboom-plus.spec ++++++ --- /var/tmp/diff_new_pack.zQCDkB/_old 2025-06-19 17:55:36.121370201 +0200 +++ /var/tmp/diff_new_pack.zQCDkB/_new 2025-06-19 17:55:36.121370201 +0200 @@ -1,7 +1,7 @@ # # spec file for package prboom-plus # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,26 +23,25 @@ License: GPL-2.0-or-later Group: Amusements/Games/3D/Shoot URL: http://prboom-plus.sf.net/ - #Git-Clone: https://github.com/coelckers/prboom-plus Source: https://github.com/coelckers/prboom-plus/archive/refs/tags/v%version.tar.gz Patch1: prboom-nodatetime.diff Patch3: prboom-hbar-all.diff Patch4: prboom-hbar-gradient.diff +Patch5: gcc14.diff BuildRequires: Mesa-devel BuildRequires: c++_compiler BuildRequires: cmake -BuildRequires: fluidsynth-devel BuildRequires: hicolor-icon-theme BuildRequires: libpng-devel -BuildRequires: libvorbis-devel -BuildRequires: pcre-devel -BuildRequires: portmidi-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(SDL2_net) +BuildRequires: pkgconfig(fluidsynth) +BuildRequires: pkgconfig(portmidi) BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(vorbis) Suggests: freedoom Provides: prboom = 2.6um Obsoletes: prboom <= 2.6 ++++++ _scmsync.obsinfo ++++++ mtime: 1742506092 commit: bc17bbf7a8851ff03b90c061ba4995c750a1b98111fc2b4bb31ea5d028ce55cc url: https://src.opensuse.org/jengelh/prboom-plus revision: master ++++++ gcc14.diff ++++++ GLU uses a pre-C89 feature (functions with unspecified arguments); that feature's syntax has new meaning in C23. POSIX systems have C language extensions (for dlsym) and we can exploit that to get GLU programs building again. prboom2/src/gl_preprocess.c:497:41: error: passing argument 3 of ‘gluTessCallback’ from incompatible pointer type [-Wincompatible-pointer-types] 497 | gluTessCallback(tess, GLU_TESS_BEGIN, ntessBegin); prboom2/src/gl_preprocess.c:498:42: error: passing argument 3 of ‘gluTessCallback’ from incompatible pointer type [-Wincompatible-pointer-types] 498 | gluTessCallback(tess, GLU_TESS_VERTEX, ntessVertex); prboom2/src/gl_preprocess.c:499:41: error: passing argument 3 of ‘gluTessCallback’ from incompatible pointer type [-Wincompatible-pointer-types] 499 | gluTessCallback(tess, GLU_TESS_ERROR, ntessError); prboom2/src/gl_preprocess.c:500:43: error: passing argument 3 of ‘gluTessCallback’ from incompatible pointer type [-Wincompatible-pointer-types] 500 | gluTessCallback(tess, GLU_TESS_COMBINE, ntessCombine); Just signedness/constness: prboom2/src/gl_shader.c:149:40: error: passing argument 3 of ‘ReadLump’ from incompatible pointer type [-Wincompatible-pointer-types] 149 | vp_size = ReadLump(filename, vpname, &vp_data); prboom2/src/gl_shader.c:84:81: note: expected ‘unsigned char **’ but argument is of type ‘char **’ prboom2/src/gl_shader.c:165:51: error: passing argument 3 of ‘GLEXT_glShaderSourceARB’ from incompatible pointer type [-Wincompatible-pointer-types] 165 | GLEXT_glShaderSourceARB(shader->hVertProg, 1, &vp_data, &vp_size); prboom2/src/gl_shader.c:166:51: error: passing argument 3 of ‘GLEXT_glShaderSourceARB’ from incompatible pointer type [-Wincompatible-pointer-types] 166 | GLEXT_glShaderSourceARB(shader->hFragProg, 1, &fp_data, &fp_size); --- prboom2/src/gl_preprocess.c | 8 ++++---- prboom2/src/gl_shader.c | 12 ++++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) Index: prboom2/src/gl_preprocess.c =================================================================== --- prboom2/src/gl_preprocess.c.orig +++ prboom2/src/gl_preprocess.c @@ -494,10 +494,10 @@ static void gld_PrecalculateSector(int n return; } // set callbacks - gluTessCallback(tess, GLU_TESS_BEGIN, ntessBegin); - gluTessCallback(tess, GLU_TESS_VERTEX, ntessVertex); - gluTessCallback(tess, GLU_TESS_ERROR, ntessError); - gluTessCallback(tess, GLU_TESS_COMBINE, ntessCombine); + gluTessCallback(tess, GLU_TESS_BEGIN, (_GLUfuncptr)(void *)ntessBegin); + gluTessCallback(tess, GLU_TESS_VERTEX, (_GLUfuncptr)(void *)ntessVertex); + gluTessCallback(tess, GLU_TESS_ERROR, (_GLUfuncptr)(void *)ntessError); + gluTessCallback(tess, GLU_TESS_COMBINE, (_GLUfuncptr)(void *)ntessCombine); gluTessCallback(tess, GLU_TESS_END, ntessEnd); if (levelinfo) fprintf(levelinfo, "sector %i, %i lines in sector\n", num, sectors[num].linecount); // remove any line which has both sides in the same sector (i.e. Doom2 Map01 Sector 1) Index: prboom2/src/gl_shader.c =================================================================== --- prboom2/src/gl_shader.c.orig +++ prboom2/src/gl_shader.c @@ -146,10 +146,14 @@ static GLShader* gld_LoadShader(const ch filename = malloc(MAX(vp_fnlen, fp_fnlen) + 1); sprintf(filename, "%s/shaders/%s.txt", I_DoomExeDir(), vpname); - vp_size = ReadLump(filename, vpname, &vp_data); + unsigned char *xyz = NULL; + vp_size = ReadLump(filename, vpname, &xyz); + vp_data = (char *)xyz; sprintf(filename, "%s/shaders/%s.txt", I_DoomExeDir(), fpname); - fp_size = ReadLump(filename, fpname, &fp_data); + xyz = NULL; + fp_size = ReadLump(filename, fpname, &xyz); + fp_data = (char *)xyz; if (vp_data && fp_data) { @@ -158,8 +162,8 @@ static GLShader* gld_LoadShader(const ch shader->hVertProg = GLEXT_glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB); shader->hFragProg = GLEXT_glCreateShaderObjectARB(GL_FRAGMENT_SHADER_ARB); - GLEXT_glShaderSourceARB(shader->hVertProg, 1, &vp_data, &vp_size); - GLEXT_glShaderSourceARB(shader->hFragProg, 1, &fp_data, &fp_size); + GLEXT_glShaderSourceARB(shader->hVertProg, 1, (const char **)&vp_data, &vp_size); + GLEXT_glShaderSourceARB(shader->hFragProg, 1, (const char **)&fp_data, &fp_size); GLEXT_glCompileShaderARB(shader->hVertProg); GLEXT_glCompileShaderARB(shader->hFragProg);