File kdelibs-pulseaudio-1.0.patch of Package kdelibs4.openSUSE_12.1_Update
Index: kdelibs-4.7.2/cmake/modules/FindPulseAudio.cmake
===================================================================
--- kdelibs-4.7.2.orig/cmake/modules/FindPulseAudio.cmake
+++ kdelibs-4.7.2/cmake/modules/FindPulseAudio.cmake
@@ -57,7 +57,7 @@ if (PULSEAUDIO_INCLUDE_DIR AND NOT PUL
file(STRINGS "${PULSEAUDIO_INCLUDE_DIR}/pulse/version.h" pulse_version_h
REGEX ".*pa_get_headers_version\\(\\).*"
)
- string(REGEX REPLACE ".*pa_get_headers_version\\(\\)\ \\(\"([0-9]+\\.[0-9]+\\.[0-9]+)[^\"]*\"\\).*" "\\1"
+ string(REGEX REPLACE ".*pa_get_headers_version\\(\\)\ \\(\"([0-9]+\\.[0-9]+)[^\"]*\"\\).*" "\\1"
_PULSEAUDIO_VERSION "${pulse_version_h}")
set(PULSEAUDIO_VERSION "${_PULSEAUDIO_VERSION}" CACHE STRING "Version number of PulseAudio" FORCE)