Projects
Extra
mbrola
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
mbrola.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sat Jun 12 19:46:29 UTC 2021 - Luigi Baldoni <aloisio@gmx.com> + +- Define correct version in header file +- Add txt2pho-gcc11.patch + +------------------------------------------------------------------- Wed Oct 14 10:18:24 UTC 2020 - Luigi Baldoni <aloisio@gmx.com> - Update to version 3.3 and txt2pho to version 0.96
View file
mbrola.spec
Changed
@@ -1,7 +1,7 @@ # # spec file for package mbrola # -# Copyright (c) 2020 Packman Team <packman@links2linux.de> +# Copyright (c) 2021 Packman Team <packman@links2linux.de> # Copyright (c) 2016-2019 Bernhard M. Wiedemann <bernhard+packman@lsmod.de> # Copyright (c) 2005-2009 Manfred Tremmel <Manfred.Tremmel@iiv.de> # @@ -31,6 +31,8 @@ Source2: https://github.com/GHPS/txt2pho/archive/%{tver}.tar.gz#/txt2pho-%{tver}.tar.gz Source3: say Source4: txt2phorc +# PATCH-FIX-OPENSUSE txt2pho-gcc11.patch +Patch0: txt2pho-gcc11.patch BuildRequires: fdupes BuildRequires: gcc-c++ Requires: sox @@ -47,13 +49,16 @@ %prep %setup -q -n MBROLA-%{version} -a 0 -a 2 +%patch0 -p1 mkdir txt2pho-%{tver}/lib txt2pho-%{tver}/obj +sed -i 's/SYNTH_VERSION.*/SYNTH_VERSION \"%{version}\"/' Misc/common.h %build export CFLAGS="%{optflags}" %make_build pushd txt2pho-%{tver} -%make_build CFLAGS="%{optflags}" +# not parallel-safe +make CFLAGS="%{optflags}" popd %install
View file
txt2pho-gcc11.patch
Added
@@ -0,0 +1,13 @@ +Index: MBROLA-3.3/txt2pho-0.96/src/list.h +=================================================================== +--- MBROLA-3.3.orig/txt2pho-0.96/src/list.h ++++ MBROLA-3.3/txt2pho-0.96/src/list.h +@@ -13,7 +13,7 @@ + #include <stdio.h> + + #define nulltest(i) if ((i) == NULL) {printf("out of heap\n");exit(0);} +-#define abs(a) ((a)>0?(a):-(a)) ++//#define abs(a) ((a)>0?(a):-(a)) + //#define min(a,b) ((a)>(b)?(b):(a)) + //#define max(a,b) ((a)<(b)?(b):(a)) +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.