diff -r b38213c8f8c3 -r 46679bda6e96 socat/socat.spec --- a/socat/socat.spec Fri Aug 10 14:26:56 2012 +0200 +++ b/socat/socat.spec Fri Aug 10 14:27:49 2012 +0200 @@ -36,7 +36,7 @@ Group: Network License: GPL Version: %{V_major}.%{V_minor} -Release: 20120515 +Release: 20120800 # package options %option with_readline yes @@ -46,7 +46,7 @@ Source0: http://www.dest-unreach.org/socat/download/socat-%{V_major}.%{V_minor}.tar.bz2 # build information -BuildPreReq: OpenPKG, openpkg >= 20100101, gcc +BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc PreReq: OpenPKG, openpkg >= 20100101 %if "%{with_readline}" == "yes" BuildPreReq: readline @@ -73,6 +73,9 @@ %prep %setup -q -n socat-%{V_major}.%{V_minor} + %{l_shtool} subst \ + -e 's;if ((from.ll.sll_pkttype & PACKET_OUTGOING);if (1;' \ + xioread.c %build CC="%{l_cc} %{l_cflags -O} %{l_cppflags}" \