All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/psmisc: fix musl build
@ 2016-01-31 12:16 Bernd Kuhls
  2016-02-02 15:21 ` Arnout Vandecappelle
  2016-02-07 14:01 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-01-31 12:16 UTC (permalink / raw)
  To: buildroot

Add upstream commit fixing a build error not yet been found by the
autobuilders:

pstree.c: In function ?get_threadname?:
pstree.c:798:15: error: ?PATH_MAX? undeclared (first use in this function)
     char path[PATH_MAX + 1];
               ^
pstree.c:798:15: note: each undeclared identifier is reported only once for each function it appears in
pstree.c:798:10: warning: unused variable ?path? [-Wunused-variable]
     char path[PATH_MAX + 1];
          ^

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/psmisc/psmisc.hash | 1 +
 package/psmisc/psmisc.mk   | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/package/psmisc/psmisc.hash b/package/psmisc/psmisc.hash
index fd99edf..5e489ed 100644
--- a/package/psmisc/psmisc.hash
+++ b/package/psmisc/psmisc.hash
@@ -1,2 +1,3 @@
 # Locally computed:
 sha256  97323cad619210845b696d7d722c383852b2acb5c49b5b0852c4f29c77a8145a  psmisc-22.21.tar.gz
+sha256  4f1cb11c7182ad96e682ec50a2d9a6a22079a2b11dffde3bb3cb67823b679422  e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c.diff
diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk
index cbdf4c6..2f83b7d 100644
--- a/package/psmisc/psmisc.mk
+++ b/package/psmisc/psmisc.mk
@@ -6,6 +6,8 @@
 
 PSMISC_VERSION = 22.21
 PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc
+PSMISC_PATCH = \
+	https://gitlab.com/psmisc/psmisc/commit/e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c.diff
 PSMISC_LICENSE = GPLv2
 PSMISC_LICENSE_FILES = COPYING
 PSMISC_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/psmisc: fix musl build
  2016-01-31 12:16 [Buildroot] [PATCH 1/1] package/psmisc: fix musl build Bernd Kuhls
@ 2016-02-02 15:21 ` Arnout Vandecappelle
  2016-02-07 14:01 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2016-02-02 15:21 UTC (permalink / raw)
  To: buildroot

On 31-01-16 13:16, Bernd Kuhls wrote:
> Add upstream commit fixing a build error not yet been found by the
> autobuilders:
> 
> pstree.c: In function ?get_threadname?:
> pstree.c:798:15: error: ?PATH_MAX? undeclared (first use in this function)
>      char path[PATH_MAX + 1];
>                ^
> pstree.c:798:15: note: each undeclared identifier is reported only once for each function it appears in
> pstree.c:798:10: warning: unused variable ?path? [-Wunused-variable]
>      char path[PATH_MAX + 1];
>           ^
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>


 Regards,
 Arnout

> ---
>  package/psmisc/psmisc.hash | 1 +
>  package/psmisc/psmisc.mk   | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/package/psmisc/psmisc.hash b/package/psmisc/psmisc.hash
> index fd99edf..5e489ed 100644
> --- a/package/psmisc/psmisc.hash
> +++ b/package/psmisc/psmisc.hash
> @@ -1,2 +1,3 @@
>  # Locally computed:
>  sha256  97323cad619210845b696d7d722c383852b2acb5c49b5b0852c4f29c77a8145a  psmisc-22.21.tar.gz
> +sha256  4f1cb11c7182ad96e682ec50a2d9a6a22079a2b11dffde3bb3cb67823b679422  e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c.diff
> diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk
> index cbdf4c6..2f83b7d 100644
> --- a/package/psmisc/psmisc.mk
> +++ b/package/psmisc/psmisc.mk
> @@ -6,6 +6,8 @@
>  
>  PSMISC_VERSION = 22.21
>  PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc
> +PSMISC_PATCH = \
> +	https://gitlab.com/psmisc/psmisc/commit/e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c.diff
>  PSMISC_LICENSE = GPLv2
>  PSMISC_LICENSE_FILES = COPYING
>  PSMISC_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/psmisc: fix musl build
  2016-01-31 12:16 [Buildroot] [PATCH 1/1] package/psmisc: fix musl build Bernd Kuhls
  2016-02-02 15:21 ` Arnout Vandecappelle
@ 2016-02-07 14:01 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-02-07 14:01 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 31 Jan 2016 13:16:05 +0100, Bernd Kuhls wrote:
> Add upstream commit fixing a build error not yet been found by the
> autobuilders:
> 
> pstree.c: In function ?get_threadname?:
> pstree.c:798:15: error: ?PATH_MAX? undeclared (first use in this function)
>      char path[PATH_MAX + 1];
>                ^
> pstree.c:798:15: note: each undeclared identifier is reported only once for each function it appears in
> pstree.c:798:10: warning: unused variable ?path? [-Wunused-variable]
>      char path[PATH_MAX + 1];
>           ^
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/psmisc/psmisc.hash | 1 +
>  package/psmisc/psmisc.mk   | 2 ++
>  2 files changed, 3 insertions(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-07 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-31 12:16 [Buildroot] [PATCH 1/1] package/psmisc: fix musl build Bernd Kuhls
2016-02-02 15:21 ` Arnout Vandecappelle
2016-02-07 14:01 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.