1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

[ maintainer ] russian/prawda: try to fix build on 6.x/i386 and 6.x/sparc64

Attemt to fix build on 6.x/i386 and 6.x/sparc64.

	Added files:
	    files/patch-src-trans-slowo3.cpp
	    files/patch-src-trans-slowo3.h

PR:		ports/75724
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru>
This commit is contained in:
Edwin Groothuis 2005-01-12 04:40:07 +00:00
parent 2153e7ec88
commit 32d56fc846
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126187
4 changed files with 36 additions and 10 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= prawda
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= russian
MASTER_SITES= http://www.prawda.newmail.ru/

View File

@ -126,16 +126,6 @@
# include <stdlib.h>
# define Err_Memory -2
--- src/trans/slowo3.cpp.orig Wed Jul 28 19:36:02 2004
+++ src/trans/slowo3.cpp Wed Jul 28 19:38:33 2004
@@ -7,7 +7,6 @@
/***************************************************************************/
# include <stdio.h>
-# include <malloc.h>
# include <string.h>
# include <stdlib.h>
--- src/utils/kod.c.orig Wed Jul 28 19:36:02 2004
+++ src/utils/kod.c Wed Jul 28 19:54:22 2004
@@ -3,7 +3,6 @@

View File

@ -0,0 +1,24 @@
--- src/trans/slowo3.cpp.orig Sat Jul 31 23:59:35 2004
+++ src/trans/slowo3.cpp Sun Jan 2 19:38:38 2005
@@ -7,7 +7,6 @@
/***************************************************************************/
# include <stdio.h>
-# include <malloc.h>
# include <string.h>
# include <stdlib.h>
@@ -1516,13 +1515,6 @@
t_sTree * t_Slowo3 :: tree( long i_tree )
{
return &Tree[i_tree] ;
-}
-/***************************************************************************/
-//
-/***************************************************************************/
-t_sStruct * t_Slowo3 :: sstruct( long i_struct )
-{
- return &Struct[i_struct] ;
}
/***************************************************************************/
// ÄÁÔØ ÐÅÒÅ×ÏÄÉÍÕÀ ÓÔÒÕËÔÕÒÕ

View File

@ -0,0 +1,11 @@
--- src/trans/slowo3.h.orig Sun Jan 2 19:38:50 2005
+++ src/trans/slowo3.h Sun Jan 2 19:42:19 2005
@@ -110,7 +110,7 @@
long n_record( void );
char is_atom( long i_record );
t_sTree *tree( long i_tree );
- inline t_sStruct *sstruct( long i_struct );
+ inline t_sStruct *sstruct( long i_struct ) { return &Struct[i_struct]; };
t_sStruct *get_from( long i_slowo );
t_sStruct *get_to( long i_slowo, long i_slowo1=0 );
t_RelationList1 get_relation( long i_slowo, long i_variant );; };