tech-pkg archive

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

Re: databases/mariadb55-client and readline



<maya%netbsd.org@localhost> wrote:

> Add
> typedef char  **rl_completion_func_t(const char *, int, int);

I had to add two ifdef __NetBSD__ to get it building:
 
+#if defined(__NetBSD__)
+typedef char   **rl_completion_func_t(const char *, int, int);
+#endif

(...)

-#if !defined(HAVE_HIST_ENTRY)
+#if !defined(__NetBSD__) && !defined(HAVE_HIST_ENTRY)
 typedef struct _hist_entry {
   const char      *line;
   const char      *data;
 } HIST_ENTRY; 

Of course this is not satisfying, since even NetBSD could be using real
readline. There must be something borken in configure process.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index