From c60726a939e199f3968d75ddebde202963fdd8de Mon Sep 17 00:00:00 2001 From: Martin Gieseking Date: Wed, 20 Dec 2017 11:01:40 +0100 Subject: [PATCH] fix https://bugzilla.redhat.com/show_bug.cgi?id=1527850 --- snappy-version-macros.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 snappy-version-macros.patch diff --git a/snappy-version-macros.patch b/snappy-version-macros.patch new file mode 100755 index 0000000..c46ef64 --- /dev/null +++ b/snappy-version-macros.patch @@ -0,0 +1,17 @@ +diff --git a/snappy-stubs-public.h.in b/snappy-stubs-public.h.in +index 3fd79bb..bb5b222 100644 +--- a/snappy-stubs-public.h.in ++++ b/snappy-stubs-public.h.in +@@ -48,9 +48,9 @@ + #include + #endif // HAVE_SYS_UIO_H + +-#define SNAPPY_MAJOR ${SNAPPY_MAJOR} +-#define SNAPPY_MINOR ${SNAPPY_MINOR} +-#define SNAPPY_PATCHLEVEL ${SNAPPY_PATCHLEVEL} ++#define SNAPPY_MAJOR ${PROJECT_VERSION_MAJOR} ++#define SNAPPY_MINOR ${PROJECT_VERSION_MINOR} ++#define SNAPPY_PATCHLEVEL ${PROJECT_VERSION_PATCH} + #define SNAPPY_VERSION \ + ((SNAPPY_MAJOR << 16) | (SNAPPY_MINOR << 8) | SNAPPY_PATCHLEVEL) +