Fix a bug in rp2gen utility which segfaults on 64 bit architectures
during net/coda6_server's build. net/coda6_server build failure reported by Kris. Approved by: portmgr (erwin)
This commit is contained in:
parent
97fd3c6015
commit
5b8f62c24d
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= rpc2
|
PORTNAME= rpc2
|
||||||
PORTVERSION= 2.2
|
PORTVERSION= 2.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/ \
|
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rpc2/src/ \
|
||||||
ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/ \
|
ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/ \
|
||||||
|
|||||||
15
devel/rpc2/files/patch-rp2gen_symtab.c
Normal file
15
devel/rpc2/files/patch-rp2gen_symtab.c
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user