aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2006-10-20 10:36:38 +0000
committerVasil Dimov <vd@FreeBSD.org>2006-10-20 10:36:38 +0000
commit5b8f62c24df55e45c61628a7470140e815b33a3f (patch)
tree136477eda09189fe38c93aef03c13a67ce00af9b
parent97fd3c6015f0c40df22d22e8805404e442c1d3c8 (diff)
downloadports-5b8f62c24df55e45c61628a7470140e815b33a3f.tar.gz
ports-5b8f62c24df55e45c61628a7470140e815b33a3f.zip
Notes
-rw-r--r--devel/rpc2/Makefile1
-rw-r--r--devel/rpc2/files/patch-rp2gen_symtab.c15
2 files changed, 16 insertions, 0 deletions
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile
index b5787c114eea..868f9fb789d3 100644
--- a/devel/rpc2/Makefile
+++ b/devel/rpc2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rpc2
PORTVERSION= 2.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/ \
ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/ \
diff --git a/devel/rpc2/files/patch-rp2gen_symtab.c b/devel/rpc2/files/patch-rp2gen_symtab.c
new file mode 100644
index 000000000000..2b9f6416248c
--- /dev/null
+++ b/devel/rpc2/files/patch-rp2gen_symtab.c
@@ -0,0 +1,15 @@
+--- rp2gen/symtab.c.orig Fri Oct 20 09:04:36 2006
++++ rp2gen/symtab.c Fri Oct 20 09:19:18 2006
+@@ -53,6 +53,12 @@
+ extern VAR *make_var();
+ ENTRY *find();
+
++/*
++ * If this is not prototyped its return value defaults to int which results
++ * in bogus results on systems where sizeof(void*) > sizeof(int).
++ */
++extern RPC2_TYPE *rpc2_struct_type(VAR **);
++
+ /* This module uses external chaining */
+
+ #define SYMTAB_SIZE 50