]> git.pld-linux.org Git - packages/heimdal.git/commitdiff
fix build without preinstalled heimdal
authorJan Palus <atler@pld-linux.org>
Wed, 29 Apr 2020 10:02:55 +0000 (10:02 +0000)
committerJan Palus <atler@pld-linux.org>
Wed, 29 Apr 2020 10:02:55 +0000 (10:02 +0000)
heimdal-includedirs.patch [new file with mode: 0644]
heimdal.spec

diff --git a/heimdal-includedirs.patch b/heimdal-includedirs.patch
new file mode 100644 (file)
index 0000000..ff3228d
--- /dev/null
@@ -0,0 +1,45 @@
+From 329918bd671c89de6e1c2874baba48d658a89a10 Mon Sep 17 00:00:00 2001
+From: Damir Franusic <df@release14.org>
+Date: Sun, 9 Dec 2018 19:53:58 +0100
+Subject: [PATCH] hcrypto: fix include path
+
+---
+ lib/hcrypto/Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/hcrypto/Makefile.am b/lib/hcrypto/Makefile.am
+index 469176b6c6..195117d174 100644
+--- a/lib/hcrypto/Makefile.am
++++ b/lib/hcrypto/Makefile.am
+@@ -9,7 +9,8 @@ AM_CPPFLAGS += $(INCLUDE_openssl_crypto)
+ endif
+ AM_CPPFLAGS += -I$(top_srcdir)/lib/hx509 \
+-             -I$(srcdir)/libtommath -DUSE_HCRYPTO_LTM=1
++             -I$(srcdir)/libtommath -DUSE_HCRYPTO_LTM=1 \
++             -I$(srcdir)/..
+ lib_LTLIBRARIES = libhcrypto.la
+ check_LTLIBRARIES = libhctest.la
+From 572a6fd7ac41e9210ef3eb765fe7da4ec8a94bb2 Mon Sep 17 00:00:00 2001
+From: Luke Howard <lukeh@padl.com>
+Date: Mon, 24 Dec 2018 02:21:32 +0000
+Subject: [PATCH] hx509: fix dependency, hxtool requires ASN.1 headers
+
+---
+ lib/hx509/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/hx509/Makefile.am b/lib/hx509/Makefile.am
+index b58deb3e37..09643c43a0 100644
+--- a/lib/hx509/Makefile.am
++++ b/lib/hx509/Makefile.am
+@@ -164,7 +164,7 @@ hxtool-commands.c hxtool-commands.h: hxtool-commands.in $(SLC)
+ dist_hxtool_SOURCES = hxtool.c
+ nodist_hxtool_SOURCES = hxtool-commands.c hxtool-commands.h
+-$(hxtool_OBJECTS): hxtool-commands.h hx509_err.h
++$(hxtool_OBJECTS): hxtool-commands.h $(nodist_include_HEADERS)
+ hxtool_LDADD = \
+       libhx509.la \
index 8e5f1a403c0c8fd57989eac526c8ca77bee475ab..2fa297a2cde3e2751422ab89f6b896a5bf883287 100644 (file)
@@ -24,6 +24,7 @@ Source7:      %{name}-kadmind.inetd
 Source8:       %{name}-krb5.conf
 Patch0:                %{name}-hdb-ldap.patch
 Patch1:                %{name}-am_man_fixes.patch
+Patch2:                %{name}-includedirs.patch
 Patch3:                %{name}-dbpaths.patch
 Patch4:                %{name}-db4.patch
 Patch5:                %{name}-libadd.patch
@@ -232,6 +233,7 @@ Kerberosa.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
This page took 0.097146 seconds and 4 git commands to generate.