diff options
author | khorben <khorben> | 2017-04-16 20:27:09 +0000 |
---|---|---|
committer | khorben <khorben> | 2017-04-16 20:27:09 +0000 |
commit | 8b39c3f52351c48330d3ed73c64372c23b256d5c (patch) | |
tree | e478637d65e034ba989569371db7f4e7e047c4eb | |
parent | 414c5064b9ea23b56dd583a9cde553d2eea54c37 (diff) | |
download | pkgsrc-8b39c3f52351c48330d3ed73c64372c23b256d5c.tar.gz |
Avoid a warning while generating config.h
No functional change intended.
-rw-r--r-- | databases/sqlite/distinfo | 4 | ||||
-rw-r--r-- | databases/sqlite/patches/patch-Makefile.in | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/databases/sqlite/distinfo b/databases/sqlite/distinfo index 82b1f43dcfb..ace78b5e58f 100644 --- a/databases/sqlite/distinfo +++ b/databases/sqlite/distinfo @@ -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 diff --git a/databases/sqlite/patches/patch-Makefile.in b/databases/sqlite/patches/patch-Makefile.in index 8791e6ca5b9..d3d241a5712 100644 --- a/databases/sqlite/patches/patch-Makefile.in +++ b/databases/sqlite/patches/patch-Makefile.in @@ -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 @@ -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 |