libica/libica-2.6-version.patch

41 lines
1.1 KiB
Diff
Raw Normal View History

2016-03-18 07:43:51 +00:00
From 2d53de6d9ca485bc851aad08eee4bbc39833905e Mon Sep 17 00:00:00 2001
2014-10-14 06:37:21 +00:00
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Mon, 4 Jul 2011 17:19:28 +0200
Subject: [libica PATCH] use a new variable for tracking the API version
---
configure.in | 3 +++
src/Makefile.am | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
2016-03-18 07:43:51 +00:00
index e0cd36e..1ac15be 100644
2014-10-14 06:37:21 +00:00
--- a/configure.in
+++ b/configure.in
@@ -3,6 +3,9 @@
2016-03-18 07:43:51 +00:00
AC_INIT(libica, 2.6.1, ingo.tuchscherer@linux.vnet.ibm.com)
2014-10-14 06:37:21 +00:00
+LIBICA_API=2.0
+AC_SUBST(LIBICA_API)
+
cmdline_CFLAGS="$CFLAGS"
# Compute $target
diff --git a/src/Makefile.am b/src/Makefile.am
2016-03-18 07:43:51 +00:00
index 74da268..d9ee00b 100644
2014-10-14 06:37:21 +00:00
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@ INCLUDES = -I ./include -I ../include
lib_LTLIBRARIES = libica.la
2016-03-18 07:43:51 +00:00
-libica_la_LDFLAGS = -version-number 2:6:1 $(PACKAGE_VERSION) -lrt -lcrypto
2014-10-14 06:37:21 +00:00
+libica_la_LDFLAGS = -release $(LIBICA_API) -lrt -lcrypto
libica_la_SOURCES = icalinux.c ica_api.c init.c icastats_shared.c \
2016-03-18 07:43:51 +00:00
s390_rsa.c s390_crypto.c s390_common.c \
s390_prng.c s390_sha.c opencryptoki_api.c \
2014-10-14 06:37:21 +00:00
--
2016-03-18 07:43:51 +00:00
2.4.3
2014-10-14 06:37:21 +00:00