Skip to content

Commit

Permalink
Avoid a warning while generating config.h
Browse files Browse the repository at this point in the history
No functional change intended.
  • Loading branch information
khorben committed Apr 16, 2017
1 parent 96625e2 commit 193789c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions databases/sqlite/distinfo
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.24 2015/11/03 01:56:35 agc Exp $
$NetBSD: distinfo,v 1.25 2017/04/16 20:27:09 khorben Exp $

SHA1 (sqlite-2.8.17.tar.gz) = 75db1cf3b00ea18ae8528e676fc9fdf698e2fe58
RMD160 (sqlite-2.8.17.tar.gz) = f13edcb0c2f7246e97ea7443de1758b4442a9483
SHA512 (sqlite-2.8.17.tar.gz) = 966e0b7f7ebbaaa9e1899864475040946fd7b66363be778d29fadd5184623b1e62644f3c8d4c4ecd001b88044befa7c34d9de9f68590329a1a8301d854b73e3f
Size (sqlite-2.8.17.tar.gz) = 969805 bytes
SHA1 (patch-Makefile.in) = 909e53c1ee0b76964774f263f00047118728f38d
SHA1 (patch-Makefile.in) = a7e6d0c15b6bd4c8c0f3a7123e82a145b3848703
SHA1 (patch-aa) = 4df2eff8c92b3e2bff86c710ef1a803d54201559
SHA1 (patch-ab) = 00b7de05589fb62d511e26d0d864a8b5545967c8
15 changes: 13 additions & 2 deletions databases/sqlite/patches/patch-Makefile.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$NetBSD: patch-Makefile.in,v 1.1 2015/03/16 11:56:32 jperkin Exp $
$NetBSD: patch-Makefile.in,v 1.2 2017/04/16 20:27:09 khorben Exp $

Honour LDFLAGS for bl3.
* Honour LDFLAGS for bl3.
* Avoid a warning while generating config.h.

--- Makefile.in.orig 2005-04-23 22:43:23.000000000 +0000
+++ Makefile.in
Expand All @@ -13,3 +14,13 @@ Honour LDFLAGS for bl3.
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)

# Compiler options needed for programs that use the TCL library.
@@ -268,7 +268,8 @@ parse.c: $(TOP)/src/parse.y lemon@BUILD_
# configure the config.h file.
#
config.h:
- echo '#include <stdio.h>' >temp.c
+ echo '#include <stdlib.h>' >temp.c
+ echo '#include <stdio.h>' >>temp.c
echo 'int main(){printf(' >>temp.c
echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
echo 'exit(0);}' >>temp.c

0 comments on commit 193789c

Please sign in to comment.