[packages/netsurf-buildsystem] - add missing patch

baggins baggins at pld-linux.org
Mon Feb 12 18:53:49 CET 2018


commit 677e48510271fc49890e718fad1d06c976569b60
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Feb 12 18:53:36 2018 +0100

    - add missing patch

 netsurf-buildsystem.spec |  3 ++-
 which.patch              | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/netsurf-buildsystem.spec b/netsurf-buildsystem.spec
index 0233423..54fab3e 100644
--- a/netsurf-buildsystem.spec
+++ b/netsurf-buildsystem.spec
@@ -9,6 +9,7 @@ Source0:	http://download.netsurf-browser.org/libs/releases/buildsystem-%{version
 # Source0-md5:	df81f3aaa4ee388f79a30068466377d3
 Patch0:		which.patch
 URL:		http://www.netsurf-browser.org/
+Requires:	which
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,7 +21,7 @@ Pliki systemu budowania komponentów przeglądarki Netsurf.
 
 %prep
 %setup -q -n buildsystem-%{version}
-#%patch0 -p1
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/which.patch b/which.patch
new file mode 100644
index 0000000..68f8089
--- /dev/null
+++ b/which.patch
@@ -0,0 +1,11 @@
+--- buildsystem-1.6/makefiles/Makefile.tools~	2017-10-12 12:20:12.000000000 +0200
++++ buildsystem-1.6/makefiles/Makefile.tools	2018-02-12 18:52:04.790346431 +0100
+@@ -130,7 +130,7 @@
+   endif
+ 
+   # Search the path for the compiler
+-  toolpath_ := $(shell /bin/which $(CC__))
++  toolpath_ := $(shell /usr/bin/which $(CC__))
+   ifeq ($(toolpath_),)
+     toolpath_ := /opt/netsurf/$(HOST)/cross/bin/
+     CC__  := $(toolpath_)$(HOST)-gcc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netsurf-buildsystem.git/commitdiff/677e48510271fc49890e718fad1d06c976569b60



More information about the pld-cvs-commit mailing list