Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 64a7f6478d | |||
| 50dcd733cc |
28
cutmp3-gcc15.patch
Normal file
28
cutmp3-gcc15.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
--- cutmp3-3.0.3.orig/main.c 2025-06-30 12:52:42.444414564 +0000
|
||||
+++ cutmp3-3.0.3/main.c 2025-06-30 12:53:45.985359246 +0000
|
||||
@@ -2519,21 +2519,21 @@ void term_restore (void) {
|
||||
} /* term_restore */
|
||||
|
||||
/* Clean up terminal; called on exit */
|
||||
-void term_exit () {
|
||||
+void term_exit (int unused) {
|
||||
term_restore();
|
||||
printf("\n\nbugreports to mail@puchalla-online.de\n\n");
|
||||
exitseq(0);
|
||||
} /* term_exit */
|
||||
|
||||
/* Will be called when ctrl-z is pressed, this correctly handles the terminal */
|
||||
-void term_ctrlz () {
|
||||
+void term_ctrlz (int unused) {
|
||||
signal(SIGTSTP, term_ctrlz);
|
||||
term_restore();
|
||||
kill(getpid(), SIGSTOP);
|
||||
} /* term_ctrlz */
|
||||
|
||||
/* Will be called when application is continued after having been stopped */
|
||||
-void term_cont () {
|
||||
+void term_cont (int unused) {
|
||||
signal(SIGCONT, term_cont);
|
||||
tcsetattr(0, TCSANOW, ¤t);
|
||||
} /* term_cont */
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 12:57:25 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
https://github.com/tarjanm-movidius/cutmp3/issues/2
|
||||
+ cutmp3-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 14 05:54:14 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ Source0: https://github.com/tarjanm-movidius/cutmp3/archive/refs/tags/v%{
|
||||
Source1: https://www.puchalla-online.de/cutmp3-keys.pdf
|
||||
Source2: https://www.puchalla-online.de/cutmp3-keys.jpg
|
||||
Source99: %{name}-rpmlintrc
|
||||
# https://github.com/tarjanm-movidius/cutmp3/issues/2
|
||||
Patch0: cutmp3-gcc15.patch
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
|
||||
Reference in New Issue
Block a user