Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200710 Details for
Bug 272270
dev-util/motor removal request (was: fails to build with glibc-2.10)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Doesn't really work but adding for reference.
motor-3.4.0-strndup.patch (text/plain), 1.92 KB, created by
Samuli Suominen (RETIRED)
on 2009-08-09 18:06:37 UTC
(
hide
)
Description:
Doesn't really work but adding for reference.
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2009-08-09 18:06:37 UTC
Size:
1.92 KB
patch
obsolete
>diff -ur motor-3.4.0.orig/configure.in motor-3.4.0/configure.in >--- motor-3.4.0.orig/configure.in 2005-02-12 17:00:30.000000000 +0200 >+++ motor-3.4.0/configure.in 2009-08-09 21:06:54.000000000 +0300 >@@ -1,6 +1,9 @@ > AC_INIT(aclocal.m4) > AM_INIT_AUTOMAKE(motor, "3.4.0") > >+### AC_SYSTEM_EXTENSIONS >+AC_GNU_SOURCE >+ > AM_CONFIG_HEADER(config.h) > > AC_PROG_CC >@@ -59,6 +62,8 @@ > AC_MSG_RESULT($gnu_make) > AC_DEFINE_UNQUOTED(GNUMAKE, "$gnu_make", [gnu make program name]) > >+AC_CHECK_FUNCS([strndup]) >+ > AC_CHECK_LIB(ncurses, main,, > [AC_CHECK_LIB(curses, main,, AC_MSG_ERROR(The ncurses terminal library is required in order to build the program))]) > >diff -ur motor-3.4.0.orig/parser/include/strfn.h motor-3.4.0/parser/include/strfn.h >--- motor-3.4.0.orig/parser/include/strfn.h 2001-08-22 09:52:40.000000000 +0300 >+++ motor-3.4.0/parser/include/strfn.h 2009-08-09 20:56:51.000000000 +0300 >@@ -32,6 +32,9 @@ > #ifndef _STRFN_H > #define _STRFN_H > >+ >+#include "config.h" >+ > /*****************************************************************************/ > /* Functions for manipulate strings */ > /*****************************************************************************/ >@@ -48,7 +51,10 @@ > * Return value: > * char * - new string > */ >+ >+#ifndef HAVE_STRNDUP > char *strndup(const char *src, int size); >+#endif > > /* > * strappend - Append source string to destination. >diff -ur motor-3.4.0.orig/parser/src/strfn.c motor-3.4.0/parser/src/strfn.c >--- motor-3.4.0.orig/parser/src/strfn.c 2001-08-22 09:52:39.000000000 +0300 >+++ motor-3.4.0/parser/src/strfn.c 2009-08-09 20:57:40.000000000 +0300 >@@ -20,6 +20,9 @@ > * > */ > >+ >+#include "config.h" >+ > #include <stdio.h> > #include <ctype.h> > #include <stdlib.h> >@@ -44,6 +47,7 @@ > return z; > } > >+#ifndef HAVE_STRNDUP > /* string function */ > char *strndup(const char *src, int size) { > int s; >@@ -56,6 +60,7 @@ > > return r; > } >+#endif > > char *strappend(char *dst, const char *src) { > int dlen;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272270
:
193294
|
197171
| 200710