diff options
author | Charlie Shepherd <masterdriverz@gentoo.org> | 2006-11-25 01:11:16 +0000 |
---|---|---|
committer | Charlie Shepherd <masterdriverz@gentoo.org> | 2006-11-25 01:11:16 +0000 |
commit | d651cfd1249360b331d46707e7923cc7867511c9 (patch) | |
tree | bbdd2934e15fb6dddf1b2ecb11395505fbf43e76 /app-misc/fujiplay/files | |
parent | Initial import, thanks to evermind from the pro-audio overlay (diff) | |
download | gentoo-2-d651cfd1249360b331d46707e7923cc7867511c9.tar.gz gentoo-2-d651cfd1249360b331d46707e7923cc7867511c9.tar.bz2 gentoo-2-d651cfd1249360b331d46707e7923cc7867511c9.zip |
Fix fujiplay-1.33-unterminated-strings.patch, thanks to Philanthrop, Bug 109226
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'app-misc/fujiplay/files')
-rw-r--r-- | app-misc/fujiplay/files/digest-fujiplay-1.33 | 2 | ||||
-rw-r--r-- | app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch | 62 |
2 files changed, 33 insertions, 31 deletions
diff --git a/app-misc/fujiplay/files/digest-fujiplay-1.33 b/app-misc/fujiplay/files/digest-fujiplay-1.33 index 189257ca8215..672f92cfb6ed 100644 --- a/app-misc/fujiplay/files/digest-fujiplay-1.33 +++ b/app-misc/fujiplay/files/digest-fujiplay-1.33 @@ -1 +1,3 @@ MD5 b5702d555813853ff63918ed285c4cdd fujiplay.tgz 12588 +RMD160 91cbf301bd8e67a5753748d675ee1294c7d31ad7 fujiplay.tgz 12588 +SHA256 d65c473b799532169d6ff362c24ee81f98efa2d2031bbcb8b638606701e75438 fujiplay.tgz 12588 diff --git a/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch index 5fb87be1474c..7f03c696c20e 100644 --- a/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch +++ b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch @@ -1,5 +1,5 @@ --- fujiplay.c 1999-02-23 10:30:31.000000000 +0100 -+++ fujiplay-fixed.c 2005-01-08 14:37:08.711951696 +0100 ++++ fujiplay.c 2006-08-05 00:50:08.000000000 +0200 @@ -759,40 +759,38 @@ return 1; } @@ -38,37 +38,37 @@ -Written by Thierry Bousch <bousch@topo.math.u-psud.fr> -Public domain. Absolutely no warranty. -"; -+const char *Usage = -+"Usage: fujiplay [OPTIONS] PICTURES... (download)\n" -+" charge NUMBER (recharge the flash)\n" -+" shoot (take picture)\n" -+" preview (preview to standard output)\n" -+" upload FILES...\n" -+" delete FILES...\n" -+" setid STRING (set camera ID)\n" -+" setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto)\n" -+" setdate gmt|local|YYYYMMDDHHMMSS\n" -+"Options:\n" -+" -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0)\n" -+" -D DEVICE Select another device file (default is /dev/fujifilm)\n" -+" -L List command set\n" -+" -7 DS-7 compatibility mode (experimental)\n" -+" -d Delete pictures after successful download\n" -+" -f Force (overwrite existing files)\n" -+" -p Assume picture numbers instead of frame numbers\n" -+" -h Display this help message\n" -+" -v Version information\n" -+"Pictures:\n" -+" all All pictures\n" -+" last Last picture\n" -+" 4 Only picture 4\n" -+" 2-10 Pictures between 2 and 10\n" -+"Files:\n" -+" DSCxxxxx.JPG Files to delete or to upload into the camera\n"; ++const char *Usage = "\n" \ ++"Usage: fujiplay [OPTIONS] PICTURES... (download) \n" \ ++" charge NUMBER (recharge the flash) \n" \ ++" shoot (take picture) \n" \ ++" preview (preview to standard output) \n" \ ++" upload FILES... \n" \ ++" delete FILES... \n" \ ++" setid STRING (set camera ID) \n" \ ++" setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto) \n" \ ++" setdate gmt|local|YYYYMMDDHHMMSS \n" \ ++"Options: \n" \ ++" -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0) \n" \ ++" -D DEVICE Select another device file (default is /dev/fujifilm) \n" \ ++" -L List command set \n" \ ++" -7 DS-7 compatibility mode (experimental) \n" \ ++" -d Delete pictures after successful download \n" \ ++" -f Force (overwrite existing files) \n" \ ++" -p Assume picture numbers instead of frame numbers \n" \ ++" -h Display this help message \n" \ ++" -v Version information \n" \ ++"Pictures: \n" \ ++" all All pictures \n" \ ++" last Last picture \n" \ ++" 4 Only picture 4 \n" \ ++" 2-10 Pictures between 2 and 10 \n" \ ++"Files: \n" \ ++" DSCxxxxx.JPG Files to delete or to upload into the camera \n"; + -+const char *Copyright = -+"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n" -+"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n" ++const char *Copyright = "\n" \ ++"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n" \ ++"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n" \ +"Public domain. Absolutely no warranty.\n"; static void sigint_handler (int sig) |