Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
030dce7f98 |
3 changed files with 1766 additions and 1 deletions
1622
frysk-0.4-53-no-new-integer.patch
Normal file
1622
frysk-0.4-53-no-new-integer.patch
Normal file
File diff suppressed because it is too large
Load diff
135
frysk-0.4-54-c-warnings.patch
Normal file
135
frysk-0.4-54-c-warnings.patch
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
diff --git a/frysk-core/frysk/pkglibdir/funit-2threads.c b/frysk-core/frysk/pkglibdir/funit-2threads.c
|
||||
index 970c90c37..e4b969046 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-2threads.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-2threads.c
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
pthread_t thread;
|
||||
|
||||
-void* thread_func ()
|
||||
+void* thread_func (void*)
|
||||
{
|
||||
int count1 = 0;
|
||||
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-rt-goto.c b/frysk-core/frysk/pkglibdir/funit-rt-goto.c
|
||||
index 928096bd7..f79197509 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-rt-goto.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-rt-goto.c
|
||||
@@ -52,7 +52,7 @@ volatile int sig;
|
||||
volatile int j = 0;
|
||||
|
||||
void
|
||||
-*signal_parent ()
|
||||
+*signal_parent (void*)
|
||||
{
|
||||
while (lock);
|
||||
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-rt-siglongjmp.c b/frysk-core/frysk/pkglibdir/funit-rt-siglongjmp.c
|
||||
index 3ad4368aa..c65358d27 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-rt-siglongjmp.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-rt-siglongjmp.c
|
||||
@@ -54,7 +54,7 @@ volatile int sig;
|
||||
static sigjmp_buf *env;
|
||||
|
||||
void
|
||||
-*signal_parent ()
|
||||
+*signal_parent (void*)
|
||||
{
|
||||
while (lock);
|
||||
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-rt-sigraise.c b/frysk-core/frysk/pkglibdir/funit-rt-sigraise.c
|
||||
index 4270edf07..1f9c26151 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-rt-sigraise.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-rt-sigraise.c
|
||||
@@ -53,7 +53,7 @@ volatile int sig;
|
||||
volatile int j = 0;
|
||||
|
||||
void
|
||||
-*signal_parent ()
|
||||
+*signal_parent (void*)
|
||||
{
|
||||
while (lock);
|
||||
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-rt-steptester.c b/frysk-core/frysk/pkglibdir/funit-rt-steptester.c
|
||||
index 0effca488..2b0392013 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-rt-steptester.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-rt-steptester.c
|
||||
@@ -56,7 +56,7 @@ volatile int kill_bool = 1;
|
||||
volatile int sig_rec = 0;
|
||||
|
||||
void
|
||||
-*signal_parent ()
|
||||
+*signal_parent (void*)
|
||||
{
|
||||
while (lock);
|
||||
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-rt-threader.c b/frysk-core/frysk/pkglibdir/funit-rt-threader.c
|
||||
index 73d0aa427..fe34a5041 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-rt-threader.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-rt-threader.c
|
||||
@@ -56,7 +56,7 @@ volatile pid_t pid;
|
||||
volatile int sig;
|
||||
|
||||
void
|
||||
-*signal_parent ()
|
||||
+*signal_parent (void*)
|
||||
{
|
||||
while (lock_one || lock_two);
|
||||
kill (pid, sig);
|
||||
@@ -124,7 +124,7 @@ foo_two ()
|
||||
|
||||
/* tester_thread_one: a = 1 */
|
||||
void
|
||||
-*foo ()
|
||||
+*foo (void*)
|
||||
{
|
||||
bar ();
|
||||
return NULL;
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-rt-threadstepper.c b/frysk-core/frysk/pkglibdir/funit-rt-threadstepper.c
|
||||
index b69736ce9..c634dc659 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-rt-threadstepper.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-rt-threadstepper.c
|
||||
@@ -184,7 +184,7 @@ bar ()
|
||||
|
||||
/* tester_thread_two: a = 0 */
|
||||
void
|
||||
-*foo_two ()
|
||||
+*foo_two (void*)
|
||||
{
|
||||
bar_two ();
|
||||
return NULL;
|
||||
@@ -192,7 +192,7 @@ void
|
||||
|
||||
/* tester_thread_one: a = 1 */
|
||||
void
|
||||
-*foo ()
|
||||
+*foo (void*)
|
||||
{
|
||||
bar ();
|
||||
return NULL;
|
||||
diff --git a/frysk-core/frysk/pkglibdir/funit-threads-looper.c b/frysk-core/frysk/pkglibdir/funit-threads-looper.c
|
||||
index bc2931a5d..557be4089 100644
|
||||
--- a/frysk-core/frysk/pkglibdir/funit-threads-looper.c
|
||||
+++ b/frysk-core/frysk/pkglibdir/funit-threads-looper.c
|
||||
@@ -64,7 +64,7 @@ pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
|
||||
static char * myname;
|
||||
|
||||
void
|
||||
-*do_it ()
|
||||
+*do_it (void*)
|
||||
{
|
||||
int t = 34543;
|
||||
while (t > 0)
|
||||
diff --git a/frysk-core/prog/kill/detach.c b/frysk-core/prog/kill/detach.c
|
||||
index 78f759194..e536f9e9c 100644
|
||||
--- a/frysk-core/prog/kill/detach.c
|
||||
+++ b/frysk-core/prog/kill/detach.c
|
||||
@@ -53,7 +53,7 @@
|
||||
// Simple sleep for roughly SECONDS and then exit.
|
||||
|
||||
static void
|
||||
-sigalrm ()
|
||||
+sigalrm (int)
|
||||
{
|
||||
exit (0);
|
||||
}
|
||||
10
frysk.spec
10
frysk.spec
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Execution analysis and debugging tool-suite
|
||||
Name: frysk
|
||||
Version: 0.4
|
||||
Release: 96%{?dist}
|
||||
Release: 97%{?dist}
|
||||
|
||||
# Fedora 17+ is still waiting for vte et.al. bindings.
|
||||
%define enable_gnome %{fedora}0 < 170
|
||||
|
|
@ -77,6 +77,8 @@ Patch49: frysk-0.4-49-elf-newehdr-null.patch
|
|||
Patch50: frysk-0.4-50-autoconf-2-70-fixes.patch
|
||||
Patch51: frysk-0.4-51-debugedit-path.patch
|
||||
Patch52: frysk-0.4-52-libunwind-tests.patch
|
||||
Patch53: frysk-0.4-53-no-new-integer.patch
|
||||
Patch54: frysk-0.4-54-c-warnings.patch
|
||||
|
||||
Patch100: frysk-0.4-aclocaljavac.patch
|
||||
Patch101: frysk-0.4-cxx-scope.patch
|
||||
|
|
@ -286,6 +288,8 @@ mv frysk-imports/libunwind/configure.{in,ac}
|
|||
%patch -P50 -p1 -z .50-autoconf-2-70-fixes
|
||||
%patch -P51 -p1 -z .51-debugedit-path
|
||||
%patch -P52 -p1 -z .52-libunwind-tests.patch
|
||||
%patch -P53 -p1 -z .53-no-new-integer.patch
|
||||
%patch -P54 -p1 -z .54-c-warnings.patch
|
||||
|
||||
echo "%{version}-%{release}" > frysk-common/version.in
|
||||
|
||||
|
|
@ -465,6 +469,10 @@ rm $RPM_BUILD_ROOT%{_libdir}/%{name}/funit-*-nodebug
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Feb 28 2025 Andrew Cagney <cagney@fedoraproject.org> - 0.4-97
|
||||
- Fix deprecated New Integer() warnings
|
||||
- Fix unprototyped function
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-96
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue