[packages/ncc] - rel 5; build fixed
arekm
arekm at pld-linux.org
Sat Dec 12 21:59:24 CET 2015
commit c1cecbf2967d2c2477f2e2c912c4f1557a8197b3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Dec 12 21:59:20 2015 +0100
- rel 5; build fixed
ncc-build.patch | 17 +++++++++++++++++
ncc.spec | 4 +++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/ncc.spec b/ncc.spec
index 4e5d627..88deaae 100644
--- a/ncc.spec
+++ b/ncc.spec
@@ -2,11 +2,12 @@ Summary: C source code analyzer
Summary(pl.UTF-8): Analizator kodu źródłowego w C
Name: ncc
Version: 2.8
-Release: 4
+Release: 5
License: Artistic
Group: Development/Languages
Source0: http://students.ceid.upatras.gr/~sxanth/ncc/%{name}-%{version}.tar.gz
# Source0-md5: 0a6500c8c05a5344902246a95094e654
+Patch0: %{name}-build.patch
URL: http://students.ceid.upatras.gr/~sxanth/ncc/index.html
BuildRequires: libstdc++-devel
BuildRequires: ncurses-devel
@@ -30,6 +31,7 @@ mpg123, ncftp i wielu innych znanych projektów.
%prep
%setup -q
+%patch0 -p1
%build
%{__make} objdir/ncc \
diff --git a/ncc-build.patch b/ncc-build.patch
new file mode 100644
index 0000000..7016a52
--- /dev/null
+++ b/ncc-build.patch
@@ -0,0 +1,17 @@
+--- ncc-2.8/usage.C~ 2008-10-11 16:54:50.000000000 +0200
++++ ncc-2.8/usage.C 2015-12-12 21:58:29.067920621 +0100
+@@ -205,12 +205,12 @@ void report_fptrs ()
+
+ void report_virtual ()
+ {
+- PRINTF (txt_virt);
++ PRINTF ("%s", txt_virt);
+ }
+
+ void report_error ()
+ {
+- PRINTF (txt_error);
++ PRINTF ("%s", txt_error);
+ }
+
+ struct fargsave { Symbol f, f2, s, lf; int ia, ia2; bool ptr; };
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ncc.git/commitdiff/c1cecbf2967d2c2477f2e2c912c4f1557a8197b3
More information about the pld-cvs-commit
mailing list