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

13 lines
816 B
Plaintext

$OpenBSD: patch-src_main_mk,v 1.4 2010/05/26 14:32:37 landry Exp $
--- src/main.mk.orig Fri May 21 20:24:46 2010
+++ src/main.mk Fri May 21 20:26:02 2010
@@ -772,7 +772,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