1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Description:
Fix compile with newer gcc "non-void function 'constant' should ..."
Author: Anton Molyboha <anton.stay.connected@gmail.com>
Bug: https://rt.cpan.org/Ticket/Display.html?id=123593
Bug-Gentoo: https://bugs.gentoo.org/637330
Bug-Debian: https://bugs.debian.org/1075138
Reviewed-by: Niko Tyni <ntyni@debian.org>,
Étienne Mollier <emollier@debian.org>
Last-Update: 2024-08-05
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=169601
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libace-perl.orig/RPC/RPC.xs
+++ libace-perl/RPC/RPC.xs
@@ -152,12 +152,6 @@
case 'Z':
break;
case '_':
- if (strEQ(name, "_ACECLIENT_"))
-#ifdef _ACECLIENT_
- return _ACECLIENT_;
-#else
- goto not_there;
-#endif
break;
}
errno = EINVAL;
|