File: gcc-14.patch

package info (click to toggle)
libace-perl 1.92-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,120 kB
  • sloc: perl: 7,763; ansic: 7,420; makefile: 81
file content (28 lines) | stat: -rw-r--r-- 809 bytes parent folder | download
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;