summaryrefslogtreecommitdiffstats
path: root/package/lshw/0001-add-LIBS.patch
diff options
context:
space:
mode:
authorHubert Sokolowski <hubert.sokolowski@intel.com>2016-07-29 18:54:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-30 15:23:49 +0200
commitd0af5cd663f65c57e0a9fc1a7e5d2afdc597b34d (patch)
tree52515b27b7a21e377ddb0e4066653aecd0272496 /package/lshw/0001-add-LIBS.patch
parent04bf807173d388e48eb98e2e42d32e77ab940447 (diff)
downloadbuildroot-d0af5cd663f65c57e0a9fc1a7e5d2afdc597b34d.tar.gz
buildroot-d0af5cd663f65c57e0a9fc1a7e5d2afdc597b34d.zip
lshw: bump version to B.02.18
Version B.02.17 was found to be unstable on recent HW. Status of the patches: - The patch allowing to add extra values to the LIBS variable has been refreshed, and changed to a Git formatted patch. - The two patches from git.alpinelinux.org were needed for lshw to build with the musl C library, but they have been merged upstream (commit cd690bff1516b40fecd5ec4a7f6619e5bffc3cf0). - The last patch was taken from upstream, and therefore already merged, and now part of B.02.18. This patch was tested with kernel 4.4.16. Signed-off-by: Hubert Sokolowski <hubert.sokolowski@intel.com> [Thomas: - better explanation about patches - re-add patch from Gustavo about LIBS, since it is really needed.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lshw/0001-add-LIBS.patch')
-rw-r--r--package/lshw/0001-add-LIBS.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/lshw/0001-add-LIBS.patch b/package/lshw/0001-add-LIBS.patch
deleted file mode 100644
index 70b2a5b68f..0000000000
--- a/package/lshw/0001-add-LIBS.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-We need to be able to pass extra LIBS when our toolchain lacks NLS support,
-this way we can build libintl and link to it.
-A good example is uClibc with locale support disabled.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura lshw-B.02.16.orig/src/gui/Makefile lshw-B.02.16/src/gui/Makefile
---- lshw-B.02.16.orig/src/gui/Makefile 2012-05-28 12:32:49.303885759 -0300
-+++ lshw-B.02.16/src/gui/Makefile 2012-05-28 12:33:33.850206001 -0300
-@@ -11,7 +11,7 @@
- CXXFLAGS=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
- CFLAGS=$(CXXFLAGS) $(DEFINES)
- GTKLIBS=$(shell pkg-config gtk+-2.0 gmodule-2.0 --libs)
--LIBS=-L../core -llshw -lresolv -lsqlite3 $(GTKLIBS)
-+LIBS+=-L../core -llshw -lresolv -lsqlite3 $(GTKLIBS)
- LDFLAGS=
- ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
- LDFLAGS+= -Wl,--as-needed
-diff -Nura lshw-B.02.16.orig/src/Makefile lshw-B.02.16/src/Makefile
---- lshw-B.02.16.orig/src/Makefile 2012-05-28 12:32:49.292885680 -0300
-+++ lshw-B.02.16/src/Makefile 2012-05-28 12:33:24.530139060 -0300
-@@ -30,7 +30,7 @@
- LDFLAGS+= -Wl,--as-needed
- endif
- LDSTATIC=-static
--LIBS=-llshw -lresolv
-+LIBS+=-llshw -lresolv
- ifeq ($(SQLITE), 1)
- LIBS+= $(shell pkg-config --libs sqlite3)
- endif
OpenPOWER on IntegriCloud