pkgsrc-Users archive

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

curl-7.36 package failed to build - patch



Hi,

pkgsrc (current), curl-7.36 package failed to build with error :

"undefined reference to `hugehelp'"

This is already fixed :

https://github.com/bagder/curl/commit/38d582ff

Please find my attached patch.

Thanks.

Julien
--- mkhelp.pl   2013-09-09 00:11:15.000000000 +0200
+++ mkhelp.pl.new       2014-04-18 22:45:59.000000000 +0200
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel%haxx.se@localhost>, et 
al.
+# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel%haxx.se@localhost>, et 
al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -256,6 +256,10 @@
 
 sub foot {
   print <<FOOT
+#else /* !USE_MANUAL */
+/* built-in manual is disabled, blank function */
+#include "tool_hugehelp.h"
+void hugehelp(void) {}
 #endif /* USE_MANUAL */
 FOOT
   ;


Home | Main Index | Thread Index | Old Index