summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-07-27 02:34:17 +0000
committerSam James <sam@gentoo.org>2020-07-27 03:15:18 +0000
commit40cb226be567e8f6b584268028b59b07812e8532 (patch)
treee8002551cc15c1b6c515f8ba2a3f093a5d77acfe /media-gfx/jhead/files
parentnet-misc/curl: security cleanup (diff)
downloadgentoo-40cb226be567e8f6b584268028b59b07812e8532.tar.gz
gentoo-40cb226be567e8f6b584268028b59b07812e8532.tar.bz2
gentoo-40cb226be567e8f6b584268028b59b07812e8532.zip
media-gfx/jhead: security cleanup
Closes: https://bugs.gentoo.org/711220 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/jhead/files')
-rw-r--r--media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch b/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch
deleted file mode 100644
index f09214b9f3d6..000000000000
--- a/media-gfx/jhead/files/jhead-2.90-mkstemp_respect_flags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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