Commit graph

11 commits

Author SHA1 Message Date
Sergey V. Lobanov
e660ac3398 krb5: fix build on macos
backport of upstream commit
3c66c1fec7
Original author: Nikhil Benesch <nikhil.benesch@gmail.com>

Remove unnecessary flag in macOS build
The configuration logic for adding the `-search_paths_first` linker
flag on Darwin does not correctly handle cross compilation.  It should
check the value of $krb5_cv_host rather than `uname -s` to detect when
the compilation target is Darwin, rather than the build machine.

It turns out `-search_paths_first` has been the default behavior of ld
on macOS since XCode 4.  So just remove that bit of logic entirely.
(The flag was added in commit acd27af0e845f8b93de2e226cc2ec9ac8af52077
in 2004; XCode 4 was released in 2010.)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:43:48 -08:00
Ilya Lipnitskiy
5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev
d3e7c6e21f krb5: Update to 1.16.2
Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-18 12:05:40 -08:00
John Crispin
2482ba2e1e krb5: more uninitialized warning errors
ktutil_funcs.c: In function 'ktutil_delete':
ktutil_funcs.c:75:28: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Signed-off-by: John Crispin <john@phrozen.org>
2016-05-30 18:34:08 +02:00
W. Michael Petullo
c35ba8097a krb5: update to 1.14.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-03-26 21:40:51 -04:00
W. Michael Petullo
dff1834cc2 krb5: update to 1.14
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-12-31 22:21:32 -05:00
Alexandru Ardelean
c03066deca krb5: bump to version 1.13.3 and fix uninitialized warning/error
Version 1.13.3 has a tar.gz so the OpenWRT default Build/Prepare
rule can be used with MD5 checksum.

Add patch to fix build:
ktutil_funcs.c: In function 'ktutil_delete':
ktutil_funcs.c:75:28: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
                 prev->next = lp->next;

There does not seem to be a way for 'prev' being uninitialized
(logically), however the compiler does not see that, because
'prev' is dependent on i >= 1.
So, we just need to initialize it to NULL.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-15 11:58:22 +02:00
W. Michael Petullo
a581d888a2 krb5: update to 1.13.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-02-22 17:36:34 -05:00
W. Michael Petullo
8c95cf3a12 krb5: update source URL and add build fix patch
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00
W. Michael Petullo
a7bb98aab9 krb5: remove some obsolete patches
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00
W. Michael Petullo
c3866b4441 Copy krb5 package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00