[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(half of a) patch for unworkable



o<,

I started to work on unworkable (oh the irony), and besides the Makefile
tweak (not to mention stuff which very looks like embedded libbsd
copies), I'm hitting a redefinition of yy* stuff in the parser, probably
just a matter of the right defines/includes to check, but it's way past
bedtime, so someone may want to have a look and submit a complete patch.

Mraw,
KiBi.
diff -u unworkable-0.51/GNUmakefile unworkable-0.51/GNUmakefile
--- unworkable-0.51/GNUmakefile
+++ unworkable-0.51/GNUmakefile
@@ -27,7 +27,7 @@
 SRCS=$(wildcard *.c *.y)
 LIBS=-levent -lcrypto
 UNAME=$(shell uname)
-ifeq ($(UNAME),Linux)
+ifneq (, $(filter Linux GNU GNU/%, $(UNAME)))
 SRCS+=openbsd-compat/strlcpy.c
 SRCS+=openbsd-compat/strlcat.c
 SRCS+=openbsd-compat/sha1.c

Attachment: signature.asc
Description: Digital signature


Reply to: