X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..6a26e8186b1cc0e6e650f762a08475d944b1288d:/package/openssl/patches/120-makedepend.patch?ds=inline diff --git a/package/openssl/patches/120-makedepend.patch b/package/openssl/patches/120-makedepend.patch index c802fe4ad..01af569fe 100644 --- a/package/openssl/patches/120-makedepend.patch +++ b/package/openssl/patches/120-makedepend.patch @@ -1,12 +1,6 @@ -diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd ---- openssl-0.9.7g-old/util/domd 2004-05-11 14:46:18.000000000 +0200 -+++ openssl-0.9.7g-new/util/domd 2005-05-30 20:20:04.000000000 +0200 -@@ -1,4 +1,4 @@ --#!/bin/sh -+#!/bin/bash - # Do a makedepend, only leave out the standard headers - # Written by Ben Laurie 19 Jan 1999 - +diff -burN openssl-0.9.8k/util/domd openssl-0.9.8k.patched/util/domd +--- openssl-0.9.8k/util/domd 2009-01-21 22:44:52.000000000 +0100 ++++ openssl-0.9.8k.patched/util/domd 2009-03-26 15:46:28.600347986 +0100 @@ -14,7 +14,8 @@ cp Makefile Makefile.save # fake the presence of Kerberos @@ -21,7 +15,7 @@ diff -ruN openssl-0.9.7g-old/util/domd openssl-0.9.7g-new/util/domd done sed -e '/^# DO NOT DELETE.*/,$d' < Makefile > Makefile.tmp echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' >> Makefile.tmp -- gcc -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp +- ${CC:-gcc} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp + ${MAKEDEPEND} -D OPENSSL_DOING_MAKEDEPEND -M $args >> Makefile.tmp ${PERL} $TOP/util/clean-depend.pl < Makefile.tmp > Makefile.new rm -f Makefile.tmp