From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37C1815ACFB for ; Tue, 18 Apr 2023 13:43:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 776E2E08F6; Tue, 18 Apr 2023 13:43:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B4A2E08F6 for ; Tue, 18 Apr 2023 13:43:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6BBC1340C43 for ; Tue, 18 Apr 2023 13:43:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED17BA3A for ; Tue, 18 Apr 2023 13:43:45 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1681825412.227dea7a3673b42a6073fff1f607ea3212a795e2.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jhead/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/jhead/files/jhead-3.04-mkstemp-fix-makefile.patch X-VCS-Directories: media-gfx/jhead/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 227dea7a3673b42a6073fff1f607ea3212a795e2 X-VCS-Branch: master Date: Tue, 18 Apr 2023 13:43:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d5c42c5b-3f75-45ab-8304-bc80216cf242 X-Archives-Hash: d5f052e5269ad9e34fc81555e422e87f commit: 227dea7a3673b42a6073fff1f607ea3212a795e2 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Apr 8 17:15:34 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Apr 18 13:43:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227dea7a media-gfx/jhead: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/30519 Signed-off-by: Conrad Kostecki gentoo.org> .../files/jhead-3.04-mkstemp-fix-makefile.patch | 53 ---------------------- 1 file changed, 53 deletions(-) diff --git a/media-gfx/jhead/files/jhead-3.04-mkstemp-fix-makefile.patch b/media-gfx/jhead/files/jhead-3.04-mkstemp-fix-makefile.patch deleted file mode 100644 index 0bb634b6f5b9..000000000000 --- a/media-gfx/jhead/files/jhead-3.04-mkstemp-fix-makefile.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff --git a/jhead.c b/jhead.c -index f78127a..d8d1472 100644 ---- a/jhead.c -+++ b/jhead.c -@@ -376,7 +376,7 @@ static void DoCommand(const char * FileName, int ShowIt) - // 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 platforms support mkstemp. -- mktemp(TempName); -+ mkstemp(TempName); - - - if(!TempName[0]) { -diff --git a/makefile b/makefile -index f8f195e..c36d34f 100644 ---- a/makefile -+++ b/makefile -@@ -3,17 +3,20 @@ - #-------------------------------- - OBJ=. - SRC=. --CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) --CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) --LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -+LFLAGS = -fPIC -shared -Wl,-soname,libjhead.so.1 - --all: jhead -+TARGET = libjhead.so.1.0.0 -+TARGET0 = libjhead.so -+TARGET1 = libjhead.so.1 -+TARGET2 = libjhead.so.1.0 -+ -+all: jhead $(TARGET) - - objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/jpgqguess.o $(OBJ)/paths.o \ - $(OBJ)/exif.o $(OBJ)/iptc.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o - - $(OBJ)/%.o:$(SRC)/%.c -- ${CC} $(CFLAGS) $(CPPFLAGS) -c $< -o $@ -+ ${CC} -fPIC $(CFLAGS) $(CPPFLAGS) -c $< -o $@ - - jhead: $(objs) jhead.h - ${CC} $(LDFLAGS) -o jhead $(objs) -lm -@@ -23,3 +26,9 @@ clean: - - install: - cp jhead ${DESTDIR}/usr/bin/ -+ -+$(TARGET): $(objs) jhead -+ ${CC} $(LDFLAGS) $(LFLAGS) -o $(TARGET) $(objs) -+ ln -s ${TARGET} ${TARGET0} -+ ln -s ${TARGET} ${TARGET1} -+ ln -s ${TARGET} ${TARGET2}