Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dequis/purple-facebook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2020-04-05 14:03:00 +0300
committerGitHub <noreply@github.com>2020-04-05 14:03:00 +0300
commitf64dd91e96265b9b2ecffdf7cfe73b6704e75f2b (patch)
tree05bbff5425e99b948848873e93ec33e8ad170d7c
parentb689527f7a48dfeb0df889c9ff1091cccab36b9b (diff)
Fix reading version from RELEASE_VERSION file. (#451)
-rw-r--r--configure.ac2
-rw-r--r--patches/17-this-build-system-sucks.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4a0dc9a..db3ed51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ AC_PREREQ([2.64])
AC_INIT(
[purple-facebook],
- [0.9.6],
+ m4_esyscmd_s([cat RELEASE_VERSION]),
[https://github.com/dequis/purple-facebook/issues],
[purple-facebook],
[https://github.com/dequis/purple-facebook],
diff --git a/patches/17-this-build-system-sucks.patch b/patches/17-this-build-system-sucks.patch
index eae948b..eb75a26 100644
--- a/patches/17-this-build-system-sucks.patch
+++ b/patches/17-this-build-system-sucks.patch
@@ -6,7 +6,7 @@ diff -Naur pidgin/libpurple/protocols/facebook/api.h pidgin2/libpurple/protocols
* The HTTP User-Agent header.
*/
-#define FB_API_AGENT "Facebook plugin / Purple / 0.9.5 " FB_ORCA_AGENT
-+#define FB_API_AGENT "Facebook plugin / Purple / 0.9.6 " FB_ORCA_AGENT
++#define FB_API_AGENT "Facebook plugin / Purple / " PACKAGE_VERSION " " FB_ORCA_AGENT
/**
* FB_API_MQTT_AGENT