joe/joe-4.6-nonvoid-functions.patch
Martin Pluskal d2e5cfe777 Accepting request 662649 from home:SchoolGuy:branches:editors
- Added patch to fix build on SLe_12_Sp3 and openSUSE_Leap_42.3 
- Fixed broken build: Added patch which was forgotten to add to version control.

OBS-URL: https://build.opensuse.org/request/show/662649
OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=31
2019-01-03 12:23:38 +00:00

11 lines
292 B
Diff

Index: joe-4.6/joe/util/checkwidths.c
===================================================================
--- joe-4.6.orig/joe/util/checkwidths.c
+++ joe-4.6/joe/util/checkwidths.c
@@ -188,4 +188,5 @@ int main()
}
tcsetattr(fileno(stdin), TCSADRAIN, &org_attr);
+ return 0;
}