aboutsummaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-12 04:40:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-12 04:40:07 +0000
commit32d56fc846133fa3034f8f1d8e0fc47a56b3a12a (patch)
tree74062c340f1def17aafdf7a98333fec5c7f18c6f /russian
parent2153e7ec8893194438d896aeaefefd374c639970 (diff)
downloadports-32d56fc846133fa3034f8f1d8e0fc47a56b3a12a.tar.gz
ports-32d56fc846133fa3034f8f1d8e0fc47a56b3a12a.zip
Notes
Diffstat (limited to 'russian')
-rw-r--r--russian/prawda/Makefile1
-rw-r--r--russian/prawda/files/patch-aa10
-rw-r--r--russian/prawda/files/patch-src-trans-slowo3.cpp24
-rw-r--r--russian/prawda/files/patch-src-trans-slowo3.h11
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 );; };