From: Florian Fainelli Date: Mon, 29 Mar 2010 11:03:23 +0000 (+0000) Subject: [package] fix scponly compilation failure (#6986) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=c791225f66a8b79045102d8b830e3e4fb4d16ca3 [package] fix scponly compilation failure (#6986) SVN-Revision: 20575 --- diff --git a/utils/scponly/Makefile b/utils/scponly/Makefile index 02f4b86da0..52a14a2829 100644 --- a/utils/scponly/Makefile +++ b/utils/scponly/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2008 OpenWrt.org +# Copyright (C) 2007-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=scponly PKG_VERSION:=4.8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/$(PKG_NAME) diff --git a/utils/scponly/patches/001-elif_else_replacement.patch b/utils/scponly/patches/001-elif_else_replacement.patch new file mode 100644 index 0000000000..e817e3e1b5 --- /dev/null +++ b/utils/scponly/patches/001-elif_else_replacement.patch @@ -0,0 +1,12 @@ +diff -urN scponly-4.8/helper.c scponly-4.8.new/helper.c +--- scponly-4.8/helper.c 2008-01-15 07:26:13.000000000 +0100 ++++ scponly-4.8.new/helper.c 2010-03-29 09:48:33.000000000 +0200 +@@ -230,7 +230,7 @@ + return 1; + } + } +-#elif ++#else + /* + * make sure that processing doesn't continue if we can't validate a rsync check + * and if the getopt flag is set.