[packages/kf5-kjs] - we use absolute paths
arekm
arekm at pld-linux.org
Tue Dec 9 23:45:30 CET 2014
commit cb219ecf8387db9aa342a2d3011c257ef397cc05
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Dec 9 23:45:25 2014 +0100
- we use absolute paths
kf5-kjs-absolute.patch | 10 ++++++++++
kf5-kjs.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/kf5-kjs.spec b/kf5-kjs.spec
index dffca01..bd4ee4d 100644
--- a/kf5-kjs.spec
+++ b/kf5-kjs.spec
@@ -13,6 +13,7 @@ License: LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/portingAids/%{kfname}-%{version}.tar.xz
# Source0-md5: c8066f2d86bb1230b676582198a923ea
+Patch0: kf5-kjs-absolute.patch
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Test-devel >= %{qtver}
@@ -48,6 +49,7 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
%prep
%setup -q -n %{kfname}-%{version}
+%patch0 -p1
%build
install -d build
diff --git a/kf5-kjs-absolute.patch b/kf5-kjs-absolute.patch
new file mode 100644
index 0000000..9b9642f
--- /dev/null
+++ b/kf5-kjs-absolute.patch
@@ -0,0 +1,10 @@
+--- kjs-5.4.0/KF5JSConfig.cmake.in~ 2014-10-31 21:18:21.000000000 +0100
++++ kjs-5.4.0/KF5JSConfig.cmake.in 2014-12-09 23:43:23.825678331 +0100
+@@ -3,6 +3,6 @@
+ find_dependency(Qt5Core @REQUIRED_QT_VERSION@)
+
+ set(KJS_HAVE_PCRE_REGEX "@PCRE_FOUND@")
+-set(KJS_CREATE_HASH_TABLE "${PACKAGE_PREFIX_DIR}/@KF5_DATA_INSTALL_DIR@/kjs/create_hash_table")
++set(KJS_CREATE_HASH_TABLE "@KF5_DATA_INSTALL_DIR@/kjs/create_hash_table")
+
+ include("${CMAKE_CURRENT_LIST_DIR}/KF5JSTargets.cmake")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-kjs.git/commitdiff/cb219ecf8387db9aa342a2d3011c257ef397cc05
More information about the pld-cvs-commit
mailing list