pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/sqlite Avoid a warning while generating conf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca0bfd46acfb
branches:  trunk
changeset: 361195:ca0bfd46acfb
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sun Apr 16 20:27:09 2017 +0000

description:
Avoid a warning while generating config.h

No functional change intended.

diffstat:

 databases/sqlite/distinfo                  |   4 ++--
 databases/sqlite/patches/patch-Makefile.in |  15 +++++++++++++--
 2 files changed, 15 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r f4887a0f44fe -r ca0bfd46acfb databases/sqlite/distinfo
--- a/databases/sqlite/distinfo Sun Apr 16 19:49:58 2017 +0000
+++ b/databases/sqlite/distinfo Sun Apr 16 20:27:09 2017 +0000
@@ -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 -r f4887a0f44fe -r ca0bfd46acfb databases/sqlite/patches/patch-Makefile.in
--- a/databases/sqlite/patches/patch-Makefile.in        Sun Apr 16 19:49:58 2017 +0000
+++ b/databases/sqlite/patches/patch-Makefile.in        Sun Apr 16 20:27:09 2017 +0000
@@ -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 @@
  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



Home | Main Index | Thread Index | Old Index