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 4A16C158064 for ; Sun, 5 May 2024 16:41:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7C45E2A2B; Sun, 5 May 2024 16:41:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA9C9E2A2B for ; Sun, 5 May 2024 16:41:19 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D944343051 for ; Sun, 5 May 2024 16:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 131261A15 for ; Sun, 5 May 2024 16:41:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1714927263.736ee1f27b0f84869cb6b99db0afffd833e69413.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jhead/, media-gfx/jhead/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/jhead/files/jhead-3.08-fix-makefile.patch media-gfx/jhead/jhead-3.08-r1.ebuild media-gfx/jhead/jhead-3.08.ebuild X-VCS-Directories: media-gfx/jhead/files/ media-gfx/jhead/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 736ee1f27b0f84869cb6b99db0afffd833e69413 X-VCS-Branch: master Date: Sun, 5 May 2024 16:41:17 +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: d0de3361-a6d6-40c1-be0a-67c94f9ea0ec X-Archives-Hash: ce739e93a17227f807f4f5e2ea1eb851 commit: 736ee1f27b0f84869cb6b99db0afffd833e69413 Author: Sam James gentoo org> AuthorDate: Sun May 5 16:40:36 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 5 16:41:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736ee1f2 media-gfx/jhead: fix LDFLAGS patch We don't want to build jhead itself with -shared, just libjhead. Closes: https://bugs.gentoo.org/931225 Signed-off-by: Sam James gentoo.org> media-gfx/jhead/files/jhead-3.08-fix-makefile.patch | 4 ++-- media-gfx/jhead/{jhead-3.08.ebuild => jhead-3.08-r1.ebuild} | 0 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-gfx/jhead/files/jhead-3.08-fix-makefile.patch b/media-gfx/jhead/files/jhead-3.08-fix-makefile.patch index 7f4e80be57ea..edf19da410dc 100644 --- a/media-gfx/jhead/files/jhead-3.08-fix-makefile.patch +++ b/media-gfx/jhead/files/jhead-3.08-fix-makefile.patch @@ -10,7 +10,7 @@ -LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -endif +CFLAGS ?= -O2 -+LDFLAGS += -fPIC -shared -Wl,-soname,libjhead.so.1 ++LFLAGS += -fPIC -shared -Wl,-soname,libjhead.so.1 + +TARGET = libjhead.so.1.0.0 +TARGET0 = libjhead.so @@ -36,7 +36,7 @@ install -m 0644 jhead.1 $(MANDIR) + +$(TARGET): $(objs) jhead -+ ${CC} $(LDFLAGS) $(LFLAGS) -o $(TARGET) $(objs) ++ ${CC} $(CFLAGS) $(LDFLAGS) $(LFLAGS) -o $(TARGET) $(objs) + ln -s ${TARGET} ${TARGET0} + ln -s ${TARGET} ${TARGET1} + ln -s ${TARGET} ${TARGET2} diff --git a/media-gfx/jhead/jhead-3.08.ebuild b/media-gfx/jhead/jhead-3.08-r1.ebuild similarity index 100% rename from media-gfx/jhead/jhead-3.08.ebuild rename to media-gfx/jhead/jhead-3.08-r1.ebuild