aboutsummaryrefslogtreecommitdiffstats
path: root/main/libwebsockets/fix-version-string.patch
blob: 416f586f9570f0c86b0d1c7b1615d797d91d4009 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Exclude the git hash from aports tree in the libwebsocket.pc version

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42abee8..2ed3f7a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -340,7 +340,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR "4")
 set(CPACK_PACKAGE_VERSION_MINOR "1")
 set(CPACK_PACKAGE_VERSION_PATCH_NUMBER "4")
 
-set(CPACK_PACKAGE_VERSION_PATCH "${CPACK_PACKAGE_VERSION_PATCH_NUMBER}-${LWS_BUILD_HASH}")
+set(CPACK_PACKAGE_VERSION_PATCH "${CPACK_PACKAGE_VERSION_PATCH_NUMBER}")
 set(CPACK_PACKAGE_RELEASE 1)
 
 set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")