SHA256
1
0
forked from pool/ipset
ipset/0001-build-fix-incorrect-library-versioning.patch

42 lines
1.1 KiB
Diff
Raw Normal View History

From 99af47d7af976222360e729c0d0e0ff13c03c48b Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 20 Oct 2013 14:59:09 +0200
Subject: [PATCH] build: fix incorrect library versioning
Commit v6.20~12 caused libipset to shift from libipset.so.3 to
.so.2. That is the wrong thing to do. Set it back to 3+2, as
intended.
---
Make_global.am | 2 +-
lib/libipset.map | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Make_global.am b/Make_global.am
index 9c228cc..33645da 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -69,7 +69,7 @@
# interface.
# curr:rev:age
-LIBVERSION = 4:1:2
+LIBVERSION = 5:0:2
AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
-I/usr/local/include
diff --git a/lib/libipset.map b/lib/libipset.map
index ab0b96f..1080f0d 100644
--- a/lib/libipset.map
+++ b/lib/libipset.map
@@ -1,3 +1,7 @@
+/*
+ * These are library version numbers in here - not to be confused
+ * with the API numbers used with libtool's -version-info string.
+ */
LIBIPSET_1.0 {
global:
ipset_strlcpy;
--
1.8.2