[package] fix scponly compilation failure (#6986)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20575 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
245e4b77b4
commit
7729971bf7
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=scponly
|
PKG_NAME:=scponly
|
||||||
PKG_VERSION:=4.8
|
PKG_VERSION:=4.8
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||||
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
||||||
|
12
utils/scponly/patches/001-elif_else_replacement.patch
Normal file
12
utils/scponly/patches/001-elif_else_replacement.patch
Normal file
@ -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.
|
Loading…
x
Reference in New Issue
Block a user