You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/tripwire/files/tripwire-2.4.2.2-gcc-4.7.patch

26 lines
790 B

diff -Nur a/src/cryptlib/algebra.h b/src/cryptlib/algebra.h
--- a/src/cryptlib/algebra.h 2011-11-21 16:06:56.000000000 +0000
+++ b/src/cryptlib/algebra.h 2012-06-19 14:13:13.930019454 +0000
@@ -273,7 +273,7 @@
Element g[3]={b, a};
unsigned int i0=0, i1=1, i2=2;
- while (!Equal(g[i1], this->Zero()))
+ while (!this->Equal(g[i1], this->Zero()))
{
g[i2] = Mod(g[i0], g[i1]);
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;
diff -Nur a/src/twadmin/twadmincl.cpp b/src/twadmin/twadmincl.cpp
--- a/src/twadmin/twadmincl.cpp 2011-11-21 16:06:56.000000000 +0000
+++ b/src/twadmin/twadmincl.cpp 2012-06-19 14:13:40.270019532 +0000
@@ -33,6 +33,9 @@
// twadmincl.cpp -- command line parsing for twadmin
//
+
+#include <unistd.h>
+
#include "stdtwadmin.h"
#include "twadmincl.h"