pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/phraseanet-indexer (www/phraseanet-indexer) Use fu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a39a0c53f918
branches:  trunk
changeset: 458939:a39a0c53f918
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Sep 26 05:58:36 2021 +0000

description:
(www/phraseanet-indexer) Use function name mysql_init to check

diffstat:

 www/phraseanet-indexer/distinfo                   |   3 ++-
 www/phraseanet-indexer/patches/patch-configure.ac |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r a320ef079b65 -r a39a0c53f918 www/phraseanet-indexer/distinfo
--- a/www/phraseanet-indexer/distinfo   Sun Sep 26 02:33:14 2021 +0000
+++ b/www/phraseanet-indexer/distinfo   Sun Sep 26 05:58:36 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 02:47:23 agc Exp $
+$NetBSD: distinfo,v 1.3 2021/09/26 05:58:36 mef Exp $
 
 SHA1 (phraseanet-v3.1.4-linux.tar.gz) = 46e423c87b4ba74a24ff8ebc9214c83ece1ec628
 RMD160 (phraseanet-v3.1.4-linux.tar.gz) = 3a2389b8effd0e6882f5d98eb70fe8fb55989114
@@ -6,3 +6,4 @@
 Size (phraseanet-v3.1.4-linux.tar.gz) = 73712035 bytes
 SHA1 (patch-aa) = 26a1bdff1c59f74c7ec074ba4fb935ec965c4b00
 SHA1 (patch-ab) = 4a5057abfb73dde38997cf2cbea2dc05aa5a9c2f
+SHA1 (patch-configure.ac) = 4b9540bf05cea5ff929f5ec7293345c164755480
diff -r a320ef079b65 -r a39a0c53f918 www/phraseanet-indexer/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/phraseanet-indexer/patches/patch-configure.ac Sun Sep 26 05:58:36 2021 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure.ac,v 1.1 2021/09/26 05:58:37 mef Exp $
+
+Use function name mysql_init instead of my_init to check the link is OK
+
+checking for my_init in -lmysqlclient... no
+configure: error: cannot link to libmysqlclient
+*** Error code 1
+
+--- configure.ac.orig  2021-09-26 14:41:49.645873851 +0900
++++ configure.ac       2021-09-26 14:47:42.704711042 +0900
+@@ -77,7 +77,7 @@ AC_CHECK_FUNCS([memset select setlocale 
+ 
+ AC_CHECK_LIB(xml2,xmlParseDoc,,AC_MSG_ERROR([cannot link to libxml2]))
+ AC_CHECK_LIB(expat,XML_Parse,,AC_MSG_ERROR([cannot link to libexpat]))
+-AC_CHECK_LIB(mysqlclient,my_init,,AC_MSG_ERROR([cannot link to libmysqlclient]))
++AC_CHECK_LIB(mysqlclient,mysql_init,,AC_MSG_ERROR([cannot link to libmysqlclient]))
+ AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR([cannot link to pthread]))
+ 
+ # AC_CONFIG_FILES([simpleopt/Makefile])



Home | Main Index | Thread Index | Old Index