2 Commits

3 changed files with 24 additions and 2 deletions

16
dvdisaster-addstdio.patch Normal file
View File

@@ -0,0 +1,16 @@
Author: davejplater@gmail.com
Date: Mon 11 Nov 2024 10:41:55 SAST
Reason:
The test compile code snippet needs to include stdio.h since
an update.Index: b/scripts/bash-based-configure
===================================================================
--- a/scripts/bash-based-configure 2021-09-24 11:13:23.000000000 +0200
+++ b/scripts/bash-based-configure 2024-11-11 06:44:58.439061539 +0200
@@ -1364,6 +1364,7 @@ EOF
cat >conftest.c <<EOF
#include <glib.h>
+#include <stdio.h>
int main(int argc, char *argv[])
{ g_malloc(1024);

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 11 08:44:51 UTC 2024 - Dave Plater <davejplater@gmail.com>
- Fix build with patch: dvdisaster-addstdio.patch
-------------------------------------------------------------------
Sun Jun 25 09:44:32 UTC 2023 - Dave Plater <davejplater@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package dvdisaster
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@ Source0: https://dvdisaster.jcea.es/downloads/%{name}-%{version}.tar.bz2
Source1: https://dvdisaster.jcea.es/downloads/%{name}-%{version}.tar.bz2.gpg
# PATCH-FIX-OPENSUSE correct desktop catagories.
Patch0: dvdisaster-desktop-cat.patch
Patch1: dvdisaster-addstdio.patch
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gettext
@@ -103,7 +104,7 @@ rm -f %{buildroot}%{_bindir}/dvdisaster-uninstall.sh
%{_bindir}/%{name}
# NOTE: adding COPYING to the doc directory as well as license
#is not a mistake it's for the license display in the help menu
%doc README CHANGELOG CREDITS.de CREDITS.en TODO COPYING
%doc README CHANGELOG CREDITS.de CREDITS.en TODO
%license COPYING
%{_mandir}/de/man1/%{name}.1%{ext_man}
%{_mandir}/man1/%{name}.1%{ext_man}