summaryrefslogtreecommitdiff
path: root/data/krb5
diff options
context:
space:
mode:
Diffstat (limited to 'data/krb5')
l---------data/krb5/_metadata/ncurses.dep1
-rw-r--r--data/krb5/cin.diff13
-rw-r--r--data/krb5/make.sh4
3 files changed, 16 insertions, 2 deletions
diff --git a/data/krb5/_metadata/ncurses.dep b/data/krb5/_metadata/ncurses.dep
new file mode 120000
index 000000000..a395fad08
--- /dev/null
+++ b/data/krb5/_metadata/ncurses.dep
@@ -0,0 +1 @@
+../../ncurses \ No newline at end of file
diff --git a/data/krb5/cin.diff b/data/krb5/cin.diff
new file mode 100644
index 000000000..a6466330a
--- /dev/null
+++ b/data/krb5/cin.diff
@@ -0,0 +1,13 @@
+diff -ru krb5-1.6.3/src/lib/krb5/os/dnsglue.h krb5-1.6.3+iPhone/src/lib/krb5/os/dnsglue.h
+--- krb5-1.6.3/src/lib/krb5/os/dnsglue.h 2006-04-01 03:08:17.000000000 +0000
++++ krb5-1.6.3+iPhone/src/lib/krb5/os/dnsglue.h 2008-03-24 13:05:14.000000000 +0000
+@@ -109,6 +109,9 @@
+ /*
+ * Some BIND implementations might be old enough to lack these.
+ */
++#ifndef C_IN
++#define C_IN 1
++#endif
+ #ifndef T_TXT
+ #define T_TXT 15
+ #endif
diff --git a/data/krb5/make.sh b/data/krb5/make.sh
index 74b159213..6d21ae0ee 100644
--- a/data/krb5/make.sh
+++ b/data/krb5/make.sh
@@ -2,6 +2,6 @@ pkg:extract
cd *
pkg:patch
cd src
-pkg:configure ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=no ac_cv_file__etc_TIMEZONE=no ac_cv_prog_AR="$(which arm-apple-darwin-ar)" krb5_cv_attr_constructor_destructor=yes,yes
-make LIBRESOLV='-dylib_file /usr/lib/libresolv.dylib:${PKG_ROOT}/usr/lib/libresolv.dylib'
+pkg:configure ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=no ac_cv_file__etc_TIMEZONE=no ac_cv_prog_AR="$(which ${PKG_TARG}-ar)" krb5_cv_attr_constructor_destructor=yes,yes
+make
pkg:install