easytier: 2.1.1 -> 2.1.2 (#376259)
[NixPkgs.git] / pkgs / by-name / li / libelf / fix-configure-main.patch
blobcc7e5f4c41d1146b475b5474292bb765614cd459
1 diff -ur a/configure.in b/configure.in
2 --- a/configure.in 2008-05-23 04:17:56.000000000 -0400
3 +++ b/configure.in 2023-06-01 19:16:04.801921924 -0400
4 @@ -282,7 +282,7 @@
5 #define memmove(d,s,n) bcopy((s),(d),(n))
6 #endif
7 extern int strcmp();
8 -main() {
9 +int main() {
10 char buf[] = "0123456789";
11 memmove(buf + 1, buf, 9);
12 if (strcmp(buf, "0012345678")) exit(1);