public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/jhead/files: jhead-2.90-mkstemp_respect_flags.patch
@ 2011-02-12 16:48 Marcelo Goes (vanquirius)
  0 siblings, 0 replies; only message in thread
From: Marcelo Goes (vanquirius) @ 2011-02-12 16:48 UTC (permalink / raw
  To: gentoo-commits

vanquirius    11/02/12 16:48:34

  Added:                jhead-2.90-mkstemp_respect_flags.patch
  Log:
  2.90 version bump.
  
  (Portage version: 2.1.9.24/cvs/Linux i686)

Revision  Changes    Path
1.1                  media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch?rev=1.1&content-type=text/plain

Index: jhead-2.90-mkstemp_respect_flags.patch
===================================================================
diff --exclude='*~' -Naur -Naur jhead-2.90.orig/jhead.c jhead-2.90/jhead.c
--- jhead-2.90.orig/jhead.c	2011-02-12 14:36:47.000000000 -0200
+++ jhead-2.90/jhead.c	2011-02-12 14:39:28.000000000 -0200
@@ -358,7 +358,7 @@
     // as mktemp - that is, that between getting the random name, and making the file
     // some other program could snatch that exact same name!
     // also, not all pltforms support mkstemp.
-    mktemp(TempName);
+    mkstemp(TempName);
 
 
     if(!TempName[0]) {
diff --exclude='*~' -Naur -Naur jhead-2.90.orig/makefile jhead-2.90/makefile
--- jhead-2.90.orig/makefile	2011-02-12 14:36:47.000000000 -0200
+++ jhead-2.90/makefile	2011-02-12 14:40:50.000000000 -0200
@@ -13,8 +13,9 @@
 $(OBJ)/%.o:$(SRC)/%.c
 	${CC} $(CFLAGS) -c $< -o $@
 
+
 jhead: $(objs) jhead.h
-	${CC} -o jhead $(objs) -lm
+	${CC} ${LDFLAGS} -o jhead $(objs) -lm
 
 clean:
 	rm -f $(objs) jhead






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-12 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 16:48 [gentoo-commits] gentoo-x86 commit in media-gfx/jhead/files: jhead-2.90-mkstemp_respect_flags.patch Marcelo Goes (vanquirius)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox