pkgsrc-Bugs archive

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

pkg/49854: libnbcompat: strtoll(3) mentioned twice for AC_REPLACE_FUNCS()



>Number:         49854
>Category:       pkg
>Synopsis:       libnbcompat: strtoll(3) mentioned twice for AC_REPLACE_FUNCS()
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 25 13:10:00 +0000 2015
>Originator:     Kamil Rytarowski
>Release:        current
>Organization:
>Environment:
N/A
>Description:
strtoll(3) is mentioned twice in AC_REPLACE_FUNCS():

- for all systems
- for systems with long long support
>How-To-Repeat:
Check: pkgtools/libnbcompat/files/configure.ac
>Fix:
Apply the following patch and regenerate the files. This patch removes the general check for strtoll(3) and leaves the check for systems with long long support.

Index: configure.ac
===================================================================
RCS file: /public/netbsd-rsync/pkgsrc/pkgtools/libnbcompat/files/configure.ac,v
retrieving revision 1.84
diff -u -r1.84 configure.ac
--- configure.ac        19 Apr 2015 12:22:14 -0000      1.84
+++ configure.ac        25 Apr 2015 12:51:55 -0000
@@ -300,7 +300,7 @@
 AC_REPLACE_FUNCS([asprintf err fgetln fnmatch fparseln getdelim getenv \
        getline isblank lchflags lchmod lchown lutimes mkdtemp mkstemp setenv \
        setgroupent setpassent setprogname shquote snprintf statvfs strdup \
-       strerror strlcat strlcpy strmode strsep strtoll unsetenv usleep \
+       strerror strlcat strlcpy strmode strsep unsetenv usleep \
        utimes warn
 ])
 



Home | Main Index | Thread Index | Old Index