diff options
author | edwin <edwin@FreeBSD.org> | 2005-01-12 12:40:07 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-01-12 12:40:07 +0800 |
commit | 2597186f367d52cc60c1e1ac77444af895fb2e8b (patch) | |
tree | c720ccf4c0812062a39f6ef0e7b6b619ac3c74ff /russian/prawda | |
parent | 7a3a7490fd6598a5062375cbdec914f03ef46596 (diff) | |
download | freebsd-ports-gnome-2597186f367d52cc60c1e1ac77444af895fb2e8b.tar.gz freebsd-ports-gnome-2597186f367d52cc60c1e1ac77444af895fb2e8b.tar.zst freebsd-ports-gnome-2597186f367d52cc60c1e1ac77444af895fb2e8b.zip |
[ 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>
Diffstat (limited to 'russian/prawda')
-rw-r--r-- | russian/prawda/Makefile | 1 | ||||
-rw-r--r-- | russian/prawda/files/patch-aa | 10 | ||||
-rw-r--r-- | russian/prawda/files/patch-src-trans-slowo3.cpp | 24 | ||||
-rw-r--r-- | russian/prawda/files/patch-src-trans-slowo3.h | 11 |
4 files changed, 36 insertions, 10 deletions
diff --git a/russian/prawda/Makefile b/russian/prawda/Makefile index 37d0fef9d93e..55b3179707bb 100644 --- a/russian/prawda/Makefile +++ b/russian/prawda/Makefile @@ -7,6 +7,7 @@ PORTNAME= prawda PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= russian MASTER_SITES= http://www.prawda.newmail.ru/ diff --git a/russian/prawda/files/patch-aa b/russian/prawda/files/patch-aa index 476ab160ecbf..119c5aa3ba04 100644 --- a/russian/prawda/files/patch-aa +++ b/russian/prawda/files/patch-aa @@ -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 @@ diff --git a/russian/prawda/files/patch-src-trans-slowo3.cpp b/russian/prawda/files/patch-src-trans-slowo3.cpp new file mode 100644 index 000000000000..65e4521aef65 --- /dev/null +++ b/russian/prawda/files/patch-src-trans-slowo3.cpp @@ -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] ; + } + /***************************************************************************/ + // дать переводимую структуру diff --git a/russian/prawda/files/patch-src-trans-slowo3.h b/russian/prawda/files/patch-src-trans-slowo3.h new file mode 100644 index 000000000000..ba4c6879e340 --- /dev/null +++ b/russian/prawda/files/patch-src-trans-slowo3.h @@ -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 );; }; |