head 1.2; access; symbols OPENPKG_E1_MP_HEAD:1.2 OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_2_STABLE:1.2 OPENPKG_E1_FP:1.2 OPENPKG_2_STABLE_MP:1.2 OPENPKG_2_STABLE_20061018:1.2 OPENPKG_2_STABLE_20060622:1.2 OPENPKG_2_STABLE:1.2.0.4 OPENPKG_2_STABLE_BP:1.2 OPENPKG_2_5_RELEASE:1.2 OPENPKG_2_5_SOLID:1.2.0.2 OPENPKG_2_5_SOLID_BP:1.2; locks; strict; comment @# @; 1.2 date 2005.10.03.10.47.00; author rse; state Exp; branches; next 1.1; 1.1 date 2005.07.24.08.23.08; author rse; state Exp; branches; next ; desc @@ 1.2 log @make more portable, bless for PLUS class (as it is used together with tor) @ text @Index: Makefile.in --- Makefile.in.orig 2002-03-16 11:12:40.000000000 +0100 +++ Makefile.in 2005-10-03 12:41:14.784073276 +0200 @@@@ -47,7 +47,7 @@@@ ${SHCC} ${CFLAGS} ${INCLUDES} -o ${INSPECT} ${INSPECT}.c ${COMMON}.o ${LIBS} ${SAVE}: ${SAVE}.c - ${SHCC} ${CFLAGS} ${INCLUDES} -static -o ${SAVE} ${SAVE}.c + ${SHCC} ${CFLAGS} ${INCLUDES} -o ${SAVE} ${SAVE}.c ${SHLIB}: ${OBJS} ${COMMON}.o ${PARSER}.o ${SHCC} ${CFLAGS} ${INCLUDES} -nostdlib -shared -o ${SHLIB} ${OBJS} ${COMMON}.o ${PARSER}.o ${DYNLIB_FLAGS} ${SPECIALLIBS} ${LIBS} Index: configure --- configure.orig 2002-07-16 00:51:08.000000000 +0200 +++ configure 2005-10-03 12:39:39.531996286 +0200 @@@@ -2151,6 +2151,7 @@@@ #line 2152 "configure" #include "confdefs.h" + #include #include int connect($testproto); @@@@ -2227,14 +2228,17 @@@@ echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6 echo "configure:2230: checking for correct poll prototype" >&5 -PROTO= -for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' +PROTO1="struct pollfd ufds[], nfds_t nfds, int timeout" +PROTO2="struct pollfd *ufds, unsigned int nfds, int timeout" +PROTO3="struct pollfd *ufds, nfds_t nfds, int timeout" +for PROTO in "$PROTO1" "$PROTO2" "$PROTO3" do if test "${PROTO}" = ""; then cat > conftest.$ac_ext < #include int poll($testproto); Index: parser.c --- parser.c.orig 2002-03-13 13:34:22.000000000 +0100 +++ parser.c 2005-10-03 12:39:39.532768730 +0200 @@@@ -4,6 +4,7 @@@@ */ +#include #include #include #include @ 1.1 log @new package: tsocks 1.8b5 (Transparent SOCKS Client Library) @ text @d1 12 d14 2 a15 2 --- configure.orig 2005-07-24 10:01:44 +0200 +++ configure 2005-07-24 10:03:11 +0200 d24 1 a24 1 @@@@ -2227,14 +2228,16 @@@@ d32 2 a33 1 +for PROTO in "$PROTO1" "$PROTO2" d45 2 a46 2 --- parser.c.orig 2002-03-13 13:34:22 +0100 +++ parser.c 2005-07-24 10:04:24 +0200 @