summaryrefslogtreecommitdiff
path: root/openwrt/package/irssi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-03 00:34:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-03 00:34:35 +0000
commit8514e59f1f0960abc9ff8c4b54564d8c5687dae2 (patch)
tree9b1a9458e31daed762940fd87aec854b5bf0ffcb /openwrt/package/irssi/patches
parent697c74552a2cd97b639ef6551575e1d6cbc30c27 (diff)
downloadmtk-20170518-8514e59f1f0960abc9ff8c4b54564d8c5687dae2.zip
mtk-20170518-8514e59f1f0960abc9ff8c4b54564d8c5687dae2.tar.gz
mtk-20170518-8514e59f1f0960abc9ff8c4b54564d8c5687dae2.tar.bz2
add irssi
SVN-Revision: 1319
Diffstat (limited to 'openwrt/package/irssi/patches')
-rw-r--r--openwrt/package/irssi/patches/100-cross_compiling_fix.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/openwrt/package/irssi/patches/100-cross_compiling_fix.patch b/openwrt/package/irssi/patches/100-cross_compiling_fix.patch
new file mode 100644
index 0000000..be274ee
--- /dev/null
+++ b/openwrt/package/irssi/patches/100-cross_compiling_fix.patch
@@ -0,0 +1,54 @@
+diff -Nurd irssi-0.8.9/configure ../../build_mipsel/irssi-0.8.9/configure
+--- irssi-0.8.9/configure 2003-12-10 23:23:05.000000000 +0000
++++ ../../build_mipsel/irssi-0.8.9/configure 2005-01-28 21:55:37.605247160 +0000
+@@ -21032,13 +21032,6 @@
+
+ echo "$as_me:$LINENO: checking size of off_t" >&5
+ echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
+-if test "$cross_compiling" = yes; then
+- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+-See \`config.log' for more details." >&5
+-echo "$as_me: error: cannot run test program while cross compiling
+-See \`config.log' for more details." >&2;}
+- { (exit 1); exit 1; }; }
+-else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -21057,35 +21050,8 @@
+ }
+
+ _ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+- (eval $ac_link) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+- (eval $ac_try) 2>&5
+- ac_status=$?
+- echo "$as_me:$LINENO: \$? = $ac_status" >&5
+- (exit $ac_status); }; }; then
+-
+- sizeof_off_t=`cat conftestval`
+- rm -f conftestval
+-
+-else
+- echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-( exit $ac_status )
+-
+- { { echo "$as_me:$LINENO: error: Unsupported off_t size" >&5
+-echo "$as_me: error: Unsupported off_t size" >&2;}
+- { (exit 1); exit 1; }; }
+-
+-fi
++ sizeof_off_t=8
+ rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+ echo "$as_me:$LINENO: result: $sizeof_off_t" >&5
+ echo "${ECHO_T}$sizeof_off_t" >&6
+