$Id: patch-obsd33_curl_7.10.4 1023 2008-11-28 07:31:02Z ranga $ curl 7.10.4 patch for OpenBSD 3.3's /usr/ports/net/curl Apply by doing: cd /usr/ports patch -p0 < patch-obsd33_curl_7.10.4 And then build curl: cd net/curl make clean make To install, remove the existing curl pkg (if installed) and: make install diff -urN net/curl.orig/Makefile net/curl/Makefile --- net/curl.orig/Makefile Sat Feb 15 17:17:16 2003 +++ net/curl/Makefile Fri May 9 23:21:08 2003 @@ -2,7 +2,7 @@ COMMENT= "get files from FTP, Gopher, HTTP or HTTPS servers" -DISTNAME= curl-7.10.3 +DISTNAME= curl-7.10.4 PKGNAME= ${DISTNAME}p1 CATEGORIES= net MASTER_SITES= http://curl.haxx.se/download/ \ @@ -41,6 +41,6 @@ post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/curl cd ${WRKSRC}; ${INSTALL_DATA} README ${PREFIX}/share/doc/curl - cd ${WRKSRC}; ${INSTALL_DATA} curl-mode.el ${PREFIX}/share/curl + cd ${WRKSRC}; ${INSTALL_DATA} curl-style.el ${PREFIX}/share/curl .include diff -urN net/curl.orig/distinfo net/curl/distinfo --- net/curl.orig/distinfo Thu Feb 6 19:40:25 2003 +++ net/curl/distinfo Fri May 9 20:10:37 2003 @@ -1,3 +1,3 @@ -MD5 (curl-7.10.3.tar.gz) = a76be06cd902ddb58cbec9335fa4e080 -RMD160 (curl-7.10.3.tar.gz) = 1e67352c8726f708fa3e1a11731e1074e59ecb2a -SHA1 (curl-7.10.3.tar.gz) = e8a759e168f52f89de1edcf9b79b7e7c3a9b27a3 +MD5 (curl-7.10.4.tar.gz) = f7bf1651e5825744ab405490295fe98a +RMD160 (curl-7.10.4.tar.gz) = 622ec92910848977d4b5b1cb20a473c155e5f644 +SHA1 (curl-7.10.4.tar.gz) = 59f920ae96ca800683dd68a3b2a3de2d989e17de diff -urN net/curl.orig/patches/patch-configure net/curl/patches/patch-configure --- net/curl.orig/patches/patch-configure Thu Feb 6 19:40:25 2003 +++ net/curl/patches/patch-configure Fri May 9 20:16:26 2003 @@ -1,25 +1,6 @@ -$OpenBSD: patch-configure,v 1.6 2003/02/07 03:40:25 brad Exp $ ---- configure.orig Tue Jan 7 06:14:02 2003 -+++ configure Thu Feb 6 22:13:17 2003 -@@ -6827,7 +6827,7 @@ else - hardcode_direct=yes - hardcode_shlibpath_var=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else -@@ -6837,7 +6837,7 @@ else - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) -- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac -@@ -7354,6 +7354,8 @@ openbsd*) +--- configure.orig Fri May 9 20:15:28 2003 ++++ configure Fri May 9 20:15:58 2003 +@@ -7538,6 +7538,8 @@ version_type=sunos need_lib_prefix=no need_version=no diff -urN net/curl.orig/patches/patch-curl-config_in net/curl/patches/patch-curl-config_in --- net/curl.orig/patches/patch-curl-config_in Thu Feb 13 18:38:15 2003 +++ net/curl/patches/patch-curl-config_in Fri May 9 20:22:04 2003 @@ -1,12 +1,7 @@ -$OpenBSD: patch-curl-config_in,v 1.1 2003/02/14 02:38:15 brad Exp $ ---- curl-config.in.orig Thu Feb 13 21:21:37 2003 -+++ curl-config.in Thu Feb 13 21:21:48 2003 -@@ -107,7 +107,7 @@ while test $# -gt 0; do - ;; - - --cflags) -- #echo -I@includedir@ -+ echo -I@includedir@ - echo "" - ;; +--- curl-config.in.orig Fri May 9 20:17:32 2003 ++++ curl-config.in Fri May 9 20:21:41 2003 +@@ -128,3 +128,4 @@ + done + exit 0 ++ diff -urN net/curl.orig/pkg/PLIST net/curl/pkg/PLIST --- net/curl.orig/pkg/PLIST Thu Feb 6 19:40:25 2003 +++ net/curl/pkg/PLIST Fri May 9 23:22:50 2003 @@ -46,7 +46,7 @@ man/man3/libcurl-multi.3 man/man3/libcurl.3 share/curl/curl-ca-bundle.crt -share/curl/curl-mode.el +share/curl/curl-style.el share/doc/curl/README @dirrm share/doc/curl @dirrm share/curl