pkgsrc-Bugs archive

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

Re: pkg/57929: bsdtar-3.7.2 fails to build on Solaris 10



Hi,

> In /usr/include/fnmatch.h, does your system have
> 
> #define FNM_IGNORECASE  0x08
> 
> available?

Yes.

% more fnmatch.h 
/*
 * Copyright (c) 1994 by Sun Microsystems, Inc.
 * Copyright 1985, 1994 by Mortice Kern Systems Inc.  All rights reserved.
 */

#ifndef _FNMATCH_H
#define _FNMATCH_H

#pragma ident   "@(#)fnmatch.h  1.3     94/10/11 SMI"

#ifdef  __cplusplus
extern "C" {
#endif

#define FNM_PATHNAME    0x01    /* Slash in str only matches slash in pattern */
#define FNM_NOESCAPE    0x02    /* Disable '\'-quoting of metacharacters */
#define FNM_PERIOD      0x04    /* Leading period in string must be exactly */
                                /* matched by period in pattern */
#define FNM_IGNORECASE  0x08    /* Ignore case when making comparisons */

#define FNM_NOMATCH     1       /* string doesnt match the specified pattern */
#define FNM_ERROR       2       /* error occured */
#define FNM_NOSYS       3       /* Function (XPG4) not supported */

#if defined(__STDC__)
extern int fnmatch(const char *, const char *, int);
#else
extern int fnmatch();
#endif

#ifdef  __cplusplus
}
#endif

#endif  /* _FNMATCH_H */


Hiroshi

> 2024/02/13 2:35、David H. Gutteridge <david%gutteridge.ca@localhost>のメール:
> 
> The following reply was made to PR pkg/57929; it has been noted by GNATS.
> 
> From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc: 
> Subject: Re: pkg/57929: bsdtar-3.7.2 fails to build on Solaris 10
> Date: Mon, 12 Feb 2024 12:30:54 -0500
> 
> Hello,
> 
> In /usr/include/fnmatch.h, does your system have
> 
> #define FNM_IGNORECASE  0x08
> 
> available?
> 
> I don't have access to any closed-source Solaris system. Illumos 
> provides
> 
> #define FNM_IGNORECASE  0x08
> #define FNM_CASEFOLD  0x08
> 
> Regards,
> 
> Dave
> 



Home | Main Index | Thread Index | Old Index