File: gcc-15.patch

package info (click to toggle)
ugene 52.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 133,376 kB
  • sloc: cpp: 747,593; xml: 212,891; ansic: 82,871; javascript: 5,416; yacc: 1,768; sh: 1,256; python: 771; perl: 226; makefile: 37
file content (23 lines) | stat: -rw-r--r-- 744 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
Description: this extern declaration makes the build fail with gcc-15.
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/1098031
Forwarded: https://github.com/ugeneunipro/ugene/issues/1772
Last-Update: 2025-08-22

--- a/src/plugins_3rdparty/primer3/src/primer3_core/read_boulder.c
+++ b/src/plugins_3rdparty/primer3/src/primer3_core/read_boulder.c
@@ -100,14 +100,6 @@
 static const char *pr_program_name = "TMP";
 
 /* 
- * Hack to support old SunOS headers.  (We do not try to declare _all_
- * undeclared functions; only those with non-int return types.)
- */
-#ifndef __cplusplus
-extern double strtod();
-#endif
-
-/* 
  * See read_boulder.h for description.
  */
 #define COMPARE(TAG) (!strncmp(s, TAG, tag_len) \