Files
ports/misc/bb/files/patch-main.c
T
Robert Clausecker 5cc28c8ebd misc/bb: patch properly
- remove REGPARM entirely, it doesn't do any good these days and
   blocks portability
 - remove use of gcc, no longer needed
 - patch some portability issues

MFH:		2026Q1
Sponsored by:	Raptor Computing Systems, LLC
2026-02-14 15:19:56 +01:00

12 lines
220 B
C

--- main.c.orig 2026-02-12 17:45:38 UTC
+++ main.c
@@ -21,6 +21,8 @@
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <ctype.h>
+#include <string.h>
#include <unistd.h>
#include "timers.h"
#include "bb.h"