fix warnings/errors from latest compilers

This commit is contained in:
Andrew Cagney 2017-02-10 21:02:55 -05:00
commit 9d4d64a7ef
4 changed files with 33 additions and 1 deletions

3
README
View file

@ -6,6 +6,9 @@ Fixing Fedora:
- install fedora-packager
For a local build:
$ fedpkg compile
To do a scratch build:

View file

@ -0,0 +1,11 @@
--- frysk-0.4/frysk-sys/frysk/sys/proc/jni/Status.cxx.dist 2017-02-10 18:49:47.680517267 -0500
+++ frysk-0.4/frysk-sys/frysk/sys/proc/jni/Status.cxx 2017-02-10 18:49:59.424346177 -0500
@@ -91,7 +91,7 @@
break;
}
}
- if (state == '\0')
+ if (*p == '\0')
return Status(env, NULL);
// UID

View file

@ -0,0 +1,11 @@
--- frysk-0.4/frysk-sys/jnixx/Printer.java.dist 2017-02-10 17:14:52.993596017 -0500
+++ frysk-0.4/frysk-sys/jnixx/Printer.java 2017-02-10 17:15:20.770189841 -0500
@@ -318,6 +318,8 @@
|| name.equals("xor")
|| name.equals("not")
|| name.equals("register")
+ || name.equals("signed")
+ || name.equals("unsigned")
) {
return name + "$";
} else {

View file

@ -1,7 +1,7 @@
Summary: Execution analysis and debugging tool-suite
Name: frysk
Version: 0.4
Release: 55%{?dist}
Release: 56%{?dist}
# Fedora 17+ is still waiting for vte et.al. bindings.
%define enable_gnome %{fedora}0 < 170
@ -58,6 +58,8 @@ Patch35: frysk-0.4-clone-cursor.patch
Patch36: frysk-0.4-fedpkg-lint-licence.patch
Patch37: frysk-0.4-fedpkg-lint-solib.patch
Patch38: frysk-0.4-gelf-newphdr.patch
Patch39: frysk-0.4-jnixx-signed-unsigned.patch
Patch40: frysk-0.4-check-p-not-status.patch
Patch100: frysk-0.4-aclocaljavac.patch
Patch101: frysk-0.4-cxx-scope.patch
@ -248,6 +250,8 @@ mv frysk-imports/libunwind/configure.{in,ac}
%patch36 -p1 -z .fedpkg-lint-licence
%patch37 -p1 -z .fedpkg-lint-solib
%patch38 -p1 -z .gelf-newphdr
%patch39 -p1 -z .jnixx-signed-unsigned
%patch40 -p1 -z .check-p-not-status
echo "%{version}-%{release}" > frysk-common/version.in
@ -437,6 +441,9 @@ rm -rf %{buildroot}
%endif
%changelog
* Fri Feb 10 2017 Andrew Cagney <cagney@fedoraproject.org> - 0.4-56
- fix warnings/errors from latest compilers
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild