Thomas Blume changed bug 1160875
What Removed Added
CC   martin.liska@suse.com
Flags   needinfo?(martin.liska@suse.com)

Comment # 2 on bug 1160875 from
(In reply to Martin Li��ka from comment #1)
> May I please ping this issue?

Unfortunately, declaring the problematic variables as extern doesn't work here,
maybe because they are supposed to be internal.
Therefore I've added the patch below, which makes the package compile:

-->
diff --git a/src/rpc_com.h b/src/rpc_com.h
index 10bec79..ec21f8d 100644
--- a/src/rpc_com.h
+++ b/src/rpc_com.h
@@ -61,8 +61,8 @@ void __xprt_unregister_unlocked(SVCXPRT *);
 void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *);


-SVCXPRT **__svc_xports;
-int __svc_maxrec;
+SVCXPRT **__svc_xports __attribute__ ((common));
+int __svc_maxrec __attribute__ ((common));

 #ifdef __cplusplus
 }
-- 
2.16.4
--<

Would that be ok?
I have testpackages at:

https://build.opensuse.org/package/show/home:tsaupe:branches:Base:System:libtirpc-bsc1160875/libtirpc


You are receiving this mail because: