All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libdrm: fix linking of etnaviv_cmd_stream_test
@ 2017-04-02 10:27 Bernd Kuhls
  2017-04-02 12:50 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-04-02 10:27 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/
http://autobuild.buildroot.net/results/c33/c3330ef9a8cadb46bbd31c5b14ece34f192133e3/
http://autobuild.buildroot.net/results/d18/d181bd044246646732a14815aae08337b0b5eecf/
http://autobuild.buildroot.net/results/4f5/4f5872211812c7e191cffcf41cab998fc20c0d20/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../0003-tests-etnaviv-link-against-libdrm.patch   | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 package/libdrm/0003-tests-etnaviv-link-against-libdrm.patch

diff --git a/package/libdrm/0003-tests-etnaviv-link-against-libdrm.patch b/package/libdrm/0003-tests-etnaviv-link-against-libdrm.patch
new file mode 100644
index 000000000..54e138524
--- /dev/null
+++ b/package/libdrm/0003-tests-etnaviv-link-against-libdrm.patch
@@ -0,0 +1,31 @@
+From b1e904cd1d5989a13c0a184525e8153bac22e1d7 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sun, 2 Apr 2017 12:17:41 +0200
+Subject: [PATCH 1/1] tests/etnaviv: link against libdrm
+
+Fixes link errors detected by buildroot autobuilders:
+
+http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/build-end.log
+
+Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=100530
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ tests/etnaviv/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/etnaviv/Makefile.am b/tests/etnaviv/Makefile.am
+index 06318643..226baee2 100644
+--- a/tests/etnaviv/Makefile.am
++++ b/tests/etnaviv/Makefile.am
+@@ -28,6 +28,7 @@ etnaviv_2d_test_SOURCES = \
+ 	write_bmp.h
+ 
+ etnaviv_cmd_stream_test_LDADD = \
++	$(top_builddir)/libdrm.la \
+ 	$(top_builddir)/etnaviv/libdrm_etnaviv.la
+ 
+ etnaviv_cmd_stream_test_SOURCES = \
+-- 
+2.11.0
+
-- 
2.11.0

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

* [Buildroot] [PATCH 1/1] package/libdrm: fix linking of etnaviv_cmd_stream_test
  2017-04-02 10:27 [Buildroot] [PATCH 1/1] package/libdrm: fix linking of etnaviv_cmd_stream_test Bernd Kuhls
@ 2017-04-02 12:50 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-02 12:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun,  2 Apr 2017 12:27:30 +0200, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/
> http://autobuild.buildroot.net/results/c33/c3330ef9a8cadb46bbd31c5b14ece34f192133e3/
> http://autobuild.buildroot.net/results/d18/d181bd044246646732a14815aae08337b0b5eecf/
> http://autobuild.buildroot.net/results/4f5/4f5872211812c7e191cffcf41cab998fc20c0d20/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

I've applied, after fixing two things:

 - You forgot to add AUTORECONF = YES, which is needed since you're
   patching Makefile.am

 - You forgot to use the -N option when using git format-patch, so we
   had this still 1/1 in [PATCH 1/1], which doesn't make any sense in
   the context of Buildroot, since this patch was actually the third
   patch out of three patches for this package.

Thanks!

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

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

end of thread, other threads:[~2017-04-02 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-02 10:27 [Buildroot] [PATCH 1/1] package/libdrm: fix linking of etnaviv_cmd_stream_test Bernd Kuhls
2017-04-02 12:50 ` 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.