From fe4b0a8d1530f17b8b550c981187924638d698f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 16 May 2021 18:29:58 +0200 Subject: [PATCH 1/1] - up to 1.0.5 --- catcodec-flags.patch | 9 --------- catcodec.spec | 8 ++++---- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/catcodec-flags.patch b/catcodec-flags.patch index cfda683..fccbbcc 100644 --- a/catcodec-flags.patch +++ b/catcodec-flags.patch @@ -1,14 +1,5 @@ --- catcodec-1.0.1/Makefile~ 2010-08-25 18:39:16.000000000 +0200 +++ catcodec-1.0.1/Makefile 2010-09-02 14:58:19.162337310 +0200 -@@ -21,7 +21,7 @@ - - # Add some default CXXFLAGS only if there aren't dictated from the outside - ifndef CXXFLAGS -- CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings -+ CXXFLAGS = -Wall -Wcast-qual -Wwrite-strings $(OPTFLAGS) - endif - - # Regardless of the warning settings, we really do not want these errors. @@ -39,7 +39,7 @@ $(CATCODEC): $(OBJS:%=objs/%) diff --git a/catcodec.spec b/catcodec.spec index 33a32d0..a139888 100644 --- a/catcodec.spec +++ b/catcodec.spec @@ -1,12 +1,12 @@ Summary: Tool for decode and encode sample catalogues for OpenTTD Summary(pl.UTF-8): Narzędzie do dekodowania oraz enkodowania katalogów dźwiękowych dla OpenTTD Name: catcodec -Version: 1.0.3 +Version: 1.0.5 Release: 1 License: GPL v2+ Group: Applications -Source0: http://cz.binaries.openttd.org/openttd/binaries/extra/catcodec/%{version}/%{name}-%{version}-source.tar.bz2 -# Source0-md5: 31196e261f7216ecea300e8807693401 +Source0: https://cdn.openttd.org/catcodec-releases/%{version}/%{name}-%{version}-source.tar.xz +# Source0-md5: 732af1bbe83ffdde17dc10703896472d Patch0: %{name}-flags.patch URL: http://www.openttd.org/en/download-catcodec BuildRequires: libstdc++-devel @@ -26,7 +26,7 @@ dźwiękowych dla OpenTTD. %build %{__make} \ CXX="%{__cxx}" \ - OPTFLAGS="%{rpmcxxflags}" \ + CXXFLAGS="%{rpmcxxflags}" \ LDFLAGS="%{rpmldflags}" \ VERBOSE="on" -- 2.44.0