summaryrefslogtreecommitdiffstats
path: root/libraries/libuchardet/uchardet-0.0.5-use-proper-package-name.patch
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2016-07-24 21:33:01 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:43 +0700
commitcea1efabbdc09ae5c4abc8d71472eb7d2bda323a (patch)
tree4c73668b01c3d8f8e9e80871ec5e4f2b3a76e1c8 /libraries/libuchardet/uchardet-0.0.5-use-proper-package-name.patch
parent1151ce1229e92aa0ab4795ba8ff3c3b8d346d411 (diff)
downloadslackbuilds-cea1efabbdc09ae5c4abc8d71472eb7d2bda323a.tar.gz
slackbuilds-cea1efabbdc09ae5c4abc8d71472eb7d2bda323a.tar.xz
libraries/libuchardet: Updated for version 0.0.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--libraries/libuchardet/uchardet-0.0.5-use-proper-package-name.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/libuchardet/uchardet-0.0.5-use-proper-package-name.patch b/libraries/libuchardet/uchardet-0.0.5-use-proper-package-name.patch
new file mode 100644
index 0000000000..b1ed88991c
--- /dev/null
+++ b/libraries/libuchardet/uchardet-0.0.5-use-proper-package-name.patch
@@ -0,0 +1,30 @@
+commit b6d872bbec3be7abfccbdfd3d90e784cf7281c55
+Author: Jehan <jehan@girinstud.io>
+Date: Tue Dec 15 21:40:16 2015 +0100
+
+ app: package name wrong in CMakeLists.txt.
+
+ Probably coming from a copy-paste error when the build system was
+ originally created.
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0b65c49..4f279e1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ ######## Project settings
+ cmake_minimum_required(VERSION 2.8)
+-set (PACKAGE_NAME opencc)
++set (PACKAGE_NAME uchardet)
+ project (${PACKAGE_NAME} CXX C)
+ enable_testing()
+
+@@ -54,7 +54,7 @@ if (DEFINED SYSCONF_INSTALL_DIR)
+ set (DIR_ETC ${SYSCONF_INSTALL_DIR})
+ endif (DEFINED SYSCONF_INSTALL_DIR)
+
+-set (DIR_SHARE_UCHARDET ${DIR_SHARE}/opencc)
++set (DIR_SHARE_UCHARDET ${DIR_SHARE}/uchardet)
+ set (DIR_SHARE_LOCALE ${DIR_SHARE}/locale)
+
+ ######## Configuration