diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-07-02 03:10:14 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-07-02 03:10:14 +0000 |
commit | 7b41a334640c600ae99ffc485c9383317f6eb706 (patch) | |
tree | 0777782d8ffff56f69504ba62499408a5bf943c3 /www/links/files | |
parent | 1cf09a7b111b930bad30c87d1e6226363f723295 (diff) |
Notes
Diffstat (limited to 'www/links/files')
-rw-r--r-- | www/links/files/patch-configure | 80 | ||||
-rw-r--r-- | www/links/files/patch-default.c | 8 | ||||
-rw-r--r-- | www/links/files/patch-types.c | 6 |
3 files changed, 83 insertions, 11 deletions
diff --git a/www/links/files/patch-configure b/www/links/files/patch-configure index 40c996e977b6..c037fcbe3858 100644 --- a/www/links/files/patch-configure +++ b/www/links/files/patch-configure @@ -1,11 +1,83 @@ ---- configure.orig 2011-04-19 11:36:37.000000000 -0400 -+++ configure 2011-10-18 13:48:27.000000000 -0400 -@@ -1762,6 +1762,8 @@ +--- configure.orig 2016-06-26 22:49:47 UTC ++++ configure +@@ -1913,6 +1913,8 @@ else cat > conftest.$ac_ext <<EOF - #line 1764 "configure" + #line 1913 "configure" #include "confdefs.h" +#include <sys/types.h> +#include <netinet/in.h> #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +@@ -6031,7 +6033,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ldl $LIBS" ++LIBS=" $LIBS" + cat > conftest.$ac_ext <<EOF + #line 6035 "configure" + #include "confdefs.h" +@@ -6065,7 +6067,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l + #define $ac_tr_lib 1 + EOF + +- LIBS="-ldl $LIBS" ++ LIBS=" $LIBS" + + else + echo "$ac_t""no" 1>&6 +@@ -7586,7 +7588,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lpthread $LIBS" ++LIBS="-pthread $LIBS" + cat > conftest.$ac_ext <<EOF + #line 7582 "configure" + #include "confdefs.h" +@@ -7620,7 +7622,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l + #define $ac_tr_lib 1 + EOF + +- LIBS="-lpthread $LIBS" ++ LIBS="-pthread $LIBS" + + else + echo "$ac_t""no" 1>&6 +@@ -7633,7 +7635,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ldl $LIBS" ++LIBS=" $LIBS" + cat > conftest.$ac_ext <<EOF + #line 7629 "configure" + #include "confdefs.h" +@@ -7667,7 +7669,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l + #define $ac_tr_lib 1 + EOF + +- LIBS="-ldl $LIBS" ++ LIBS=" $LIBS" + + else + echo "$ac_t""no" 1>&6 +@@ -9837,7 +9839,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lpthread $LIBS" ++LIBS="-pthread $LIBS" + cat > conftest.$ac_ext <<EOF + #line 9833 "configure" + #include "confdefs.h" +@@ -9871,7 +9873,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l + #define $ac_tr_lib 1 + EOF + +- LIBS="-lpthread $LIBS" ++ LIBS="-pthread $LIBS" + + else + echo "$ac_t""no" 1>&6 diff --git a/www/links/files/patch-default.c b/www/links/files/patch-default.c index 9d2d8aa26d88..cf88b86d8fba 100644 --- a/www/links/files/patch-default.c +++ b/www/links/files/patch-default.c @@ -1,7 +1,7 @@ ---- default.c.orig 2008-03-06 22:43:25.117856165 -0500 -+++ default.c 2008-03-06 22:44:12.412560939 -0500 -@@ -400,7 +400,7 @@ - get_system_name(); +--- default.c.orig 2016-06-17 20:33:57 UTC ++++ default.c +@@ -829,7 +829,7 @@ void init_home(void) + get_compiler_name(); links_home = get_home(&first_use); if (!links_home) { - fprintf(stderr, "Unable to find or create links config directory. Please check, that you have $HOME variable set correctly and that you have write permission to your home directory.\n\007"); diff --git a/www/links/files/patch-types.c b/www/links/files/patch-types.c index ee9d1508ec3c..96810352f3ee 100644 --- a/www/links/files/patch-types.c +++ b/www/links/files/patch-types.c @@ -1,6 +1,6 @@ ---- types.c.orig 2012-06-06 15:49:37.000000000 -0400 -+++ types.c 2012-06-27 02:28:56.000000000 -0400 -@@ -841,7 +841,8 @@ +--- types.c.orig 2016-06-17 20:33:57 UTC ++++ types.c +@@ -849,7 +849,8 @@ unsigned char *get_content_type_by_exten ext = NULL; } if (ext) while (ext[extl] && ext[extl] != '.' && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++; |