You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1.0 KiB

Index: src/Makefile
--- src/Makefile.orig 2021-06-14 21:00:11.000000000 +0200
+++ src/Makefile 2022-08-27 10:53:00.193044000 +0200
@@ -59,7 +59,7 @@
CFLAGS_ADDTL="-g $(CFLAGS_ADDTL)" STRIP=false flags_$(BOXES_PLATFORM) $(BOXES_EXECUTABLE_NAME)
boxes: $(ALL_OBJ) | check_dir
- $(CC) $(LDFLAGS) $^ -o $@ -lunistring -lpcre2-32
+ $(CC) $(LDFLAGS) $^ -o $@ -lunistring -lpcre2-32 -liconv
if [ "$(STRIP)" = "true" ] ; then strip $@ ; fi
boxes.exe: $(ALL_OBJ) | check_dir
@@ -68,7 +68,7 @@
flags_unix:
- $(eval CFLAGS := -I. -I$(SRC_DIR) -Wall -W $(CFLAGS_ADDTL))
+ $(eval CFLAGS := -I. -I$(SRC_DIR) -W $(CFLAGS_ADDTL))
$(eval LDFLAGS := $(LDFLAGS_ADDTL))
$(eval BOXES_EXECUTABLE_NAME := boxes)
$(eval ALL_OBJ := $(GEN_SRC:.c=.o) $(ORIG_NORM:.c=.o))
Index: src/boxes.in.h
--- src/boxes.in.h.orig 2021-06-14 21:00:11.000000000 +0200
+++ src/boxes.in.h 2022-08-27 10:52:39.941902000 +0200
@@ -31,7 +31,7 @@
/* #define LEXER_DEBUG 1 */
#include <stdio.h>
-#include <unitypes.h>
+#include <stdlib.h>
#include "regulex.h"
#include "shape.h"