summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-kopete-libre/use-libotr3.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-09 16:44:26 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-09 16:44:26 -0200
commitadebb68830b910fcb976bee704a96cd109d667fd (patch)
treeb9db91f4ed971a68b44ad5bf8c804c8c541798c4 /libre/kdenetwork-kopete-libre/use-libotr3.patch
parente30a90a07ab1eab42e1ea8004909a8973b484994 (diff)
downloadabslibre-adebb68830b910fcb976bee704a96cd109d667fd.tar.gz
abslibre-adebb68830b910fcb976bee704a96cd109d667fd.tar.bz2
abslibre-adebb68830b910fcb976bee704a96cd109d667fd.zip
kdenetwork-kopete-libre-4.9.3-1: updating version
Diffstat (limited to 'libre/kdenetwork-kopete-libre/use-libotr3.patch')
-rw-r--r--libre/kdenetwork-kopete-libre/use-libotr3.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libre/kdenetwork-kopete-libre/use-libotr3.patch b/libre/kdenetwork-kopete-libre/use-libotr3.patch
new file mode 100644
index 000000000..c36d1a00c
--- /dev/null
+++ b/libre/kdenetwork-kopete-libre/use-libotr3.patch
@@ -0,0 +1,20 @@
+--- kdenetwork-4.9.3/kopete/cmake/modules/FindLibOTR.cmake~ 2012-11-06 10:51:56.566038215 +0000
++++ kdenetwork-4.9.3/kopete/cmake/modules/FindLibOTR.cmake 2012-11-06 10:53:38.861993686 +0000
+@@ -13,13 +13,13 @@
+ SET(LIBOTR_FIND_QUIETLY TRUE)
+ ENDIF (LIBOTR_INCLUDE_DIR AND LIBOTR_LIBRARY)
+
+-FIND_PATH(LIBOTR_INCLUDE_DIR libotr/version.h)
++FIND_PATH(LIBOTR_INCLUDE_DIR libotr3/version.h)
+
+-FIND_LIBRARY(LIBOTR_LIBRARY NAMES otr libotr)
++FIND_LIBRARY(LIBOTR_LIBRARY NAMES otr3 libotr3)
+
+-# Determine version information from libotr/version.h
++# Determine version information from libotr3/version.h
+ IF( LIBOTR_INCLUDE_DIR AND LIBOTR_LIBRARY )
+- EXECUTE_PROCESS(COMMAND grep "OTRL_VERSION" "${LIBOTR_INCLUDE_DIR}/libotr/version.h" OUTPUT_VARIABLE output)
++ EXECUTE_PROCESS(COMMAND grep "OTRL_VERSION" "${LIBOTR_INCLUDE_DIR}/libotr3/version.h" OUTPUT_VARIABLE output)
+ STRING(REGEX MATCH "OTRL_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+" LIBOTR_VERSION "${output}")
+ STRING(REGEX REPLACE "^OTRL_VERSION \"" "" LIBOTR_VERSION "${LIBOTR_VERSION}")
+ # Check if version is at least 3.2.0