nixpkgs/pkgs/by-name/cg/cgdb/gcc14.patch
Patrick Steinhardt 6245ca9cbb cgdb: fix compilation with GCC 14
See https://github.com/cgdb/cgdb/pull/368 for the upstream pull request.
2024-12-30 14:04:15 +01:00

14 lines
249 B
Diff

diff --git a/configure b/configure
index c564dc1..e13c67c 100755
--- a/configure
+++ b/configure
@@ -6512,7 +6512,7 @@ else
#include <stdlib.h>
#include <readline/readline.h>
-main()
+int main()
{
FILE *fp;
fp = fopen("conftest.rlv", "w");