Gentoo Archives: gentoo-commits

From: "Marcelo Goes (vanquirius)" <vanquirius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/jhead/files: jhead-2.87-respect_flags.patch jhead-2.87-mkstemp.patch
Date: Sun, 28 Jun 2009 17:35:32
Message-Id: E1MKyHq-0007E7-RI@stork.gentoo.org
1 vanquirius 09/06/28 17:35:30
2
3 Added: jhead-2.87-respect_flags.patch
4 jhead-2.87-mkstemp.patch
5 Log:
6 2.87 version bump, patch to respect flags and change mktemp to mkstemp for bug 275200. Thanks to Zeev
7 Tarantov <zeev dot tarantov at gmail dot com>.
8 (Portage version: 2.1.6.13/cvs/Linux i686)
9
10 Revision Changes Path
11 1.1 media-gfx/jhead/files/jhead-2.87-respect_flags.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/jhead/files/jhead-2.87-respect_flags.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/jhead/files/jhead-2.87-respect_flags.patch?rev=1.1&content-type=text/plain
15
16 Index: jhead-2.87-respect_flags.patch
17 ===================================================================
18 --- makefile.orig 2009-06-23 17:08:18.017847256 +0300
19 +++ makefile 2009-06-23 17:10:32.682853270 +0300
20 @@ -3,7 +3,6 @@
21 #--------------------------------
22 OBJ=.
23 SRC=.
24 -CFLAGS= -O3 -Wall
25
26 all: jhead
27
28 @@ -11,10 +10,10 @@
29 $(OBJ)/exif.o $(OBJ)/iptc.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o
30
31 $(OBJ)/%.o:$(SRC)/%.c
32 - ${CC} $(CFLAGS) -c $< -o $@
33 + ${CC} ${CFLAGS} -c $< -o $@
34
35 jhead: $(objs) jhead.h
36 - ${CC} -o jhead $(objs) -lm
37 + ${CC} ${LDFLAGS} -o jhead $(objs) -lm
38
39 clean:
40 rm -f $(objs) jhead
41
42
43
44 1.1 media-gfx/jhead/files/jhead-2.87-mkstemp.patch
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/jhead/files/jhead-2.87-mkstemp.patch?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/jhead/files/jhead-2.87-mkstemp.patch?rev=1.1&content-type=text/plain
48
49 Index: jhead-2.87-mkstemp.patch
50 ===================================================================
51 --- jhead.c.orig 2009-06-23 17:25:41.545847706 +0300
52 +++ jhead.c 2009-06-23 17:27:36.621854286 +0300
53 @@ -351,7 +351,7 @@
54 while(a > 0 && FileName[a-1] != SLASH) a--;
55 memcpy(TempName, FileName, a);
56 strcpy(TempName+a, "XXXXXX");
57 - mktemp(TempName);
58 + mkstemp(TempName);
59 if(!TempName[0]) {
60 ErrFatal("Cannot find available temporary file name");
61 }