openbsd-ports/devel/fossil/patches/patch-src_main_mk

13 lines
815 B
Plaintext

$OpenBSD: patch-src_main_mk,v 1.3 2010/03/20 23:26:11 sthen Exp $
--- src/main.mk.orig Sat Mar 20 18:16:03 2010
+++ src/main.mk Sat Mar 20 18:17:14 2010
@@ -792,7 +792,7 @@ $(OBJDIR)/zip.o: zip_.c zip.h $(SRCDIR)/config.h
zip.h: headers
$(OBJDIR)/sqlite3.o: $(SRCDIR)/sqlite3.c
- $(XTCC) -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
+ $(XTCC) -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c $(SRCDIR)/sqlite3.c -o $(OBJDIR)/sqlite3.o
$(OBJDIR)/th.o: $(SRCDIR)/th.c
$(XTCC) -I$(SRCDIR) -c $(SRCDIR)/th.c -o $(OBJDIR)/th.o