[package] update gphoto2 to 2.4.5, cleanup dependency (#5510)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@16836 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-07-14 00:56:08 +00:00
parent 484aaf6214
commit 016d63f5cb
2 changed files with 6 additions and 8 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gphoto2 PKG_NAME:=gphoto2
PKG_VERSION:=2.4.1 PKG_VERSION:=2.4.5
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/gphoto PKG_SOURCE_URL:=@SF/gphoto
PKG_MD5SUM:=fba6cf5f5d6a23569d97f4f6896d5e09 PKG_MD5SUM:=cccbe437804c863b87807444ec58a8ac
PKG_FIXUP = libtool PKG_FIXUP = libtool
@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/gphoto2 define Package/gphoto2
SECTION:=multimedia SECTION:=multimedia
CATEGORY:=Multimedia CATEGORY:=Multimedia
DEPENDS:=+libexif +libgphoto2 +libltdl +libpopt +libpthread DEPENDS:=+libgphoto2 +libpopt +libpthread
TITLE:=Gphoto Digital Camera Control TITLE:=Gphoto Digital Camera Control
URL:=http://www.gphoto.org/ URL:=http://www.gphoto.org/
endef endef

View File

@ -1,12 +1,10 @@
Index: gphoto2-2.4.1/gphoto2/foreach.c --- a/gphoto2/foreach.c
=================================================================== +++ b/gphoto2/foreach.c
--- gphoto2-2.4.1.orig/gphoto2/foreach.c 2008-04-19 13:58:07.000000000 +0200
+++ gphoto2-2.4.1/gphoto2/foreach.c 2008-04-19 13:58:07.000000000 +0200
@@ -31,6 +31,8 @@ @@ -31,6 +31,8 @@
#include <gphoto2/gphoto2-port-log.h> #include <gphoto2/gphoto2-port-log.h>
+#define GP_DEBUG (void) +#define GP_DEBUG (void)
+ +
#define GP_ERROR_FRONTEND_BAD_ID -10000 #define GP_ERROR_FRONTEND_BAD_ID -10000
#define CR(result) {int __r=(result); if(__r<0) return(__r);} #define CR(result) {int __r=(result); if(__r<0) return(__r);}