🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Wed, 28 Oct 2026 16:00
Bug#1152370: fotocx FTCBFS: hard codes the build architecture pkg-config
#2500
Author: Helmut Grohne
Date: Wed, 28 Oct 2026 16:00
42 lines
2977 bytes
--cWSH1E6pJbVy1o0R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: fotocx
Version: 26.8-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

fotocx fails to cross build from source, because its upstream Makefile
hard codes the build architecture pkg-config. It doesn't always do, so
it looks like cross building was fixed a while back and then new
invocations were added. I'm attaching a patch that makes the new ones
substitutable as well. Once applying it, fotocx cross builds again.
Please also forward the patch upstream.

Helmut

--cWSH1E6pJbVy1o0R
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"

--- fotocx-26.8.orig/Makefile
+++ fotocx-26.8/Makefile
@@ -36,10 +36,10 @@
    CFLAGS += -DDEBUG
 endif
 
-JXL_CFLAGS := $(shell pkg-config --cflags libjxl) 
-JXL_LDFLAGS := $(shell pkg-config --libs libjxl libjxl_threads libhwy            \
+JXL_CFLAGS := $(shell $(PKG_CONFIG) --cflags libjxl) 
+JXL_LDFLAGS := $(shell $(PKG_CONFIG) --libs libjxl libjxl_threads libhwy            \
                                      libbrotlicommon libbrotlidec)
-NETMAP_LDFLAGS := $(shell pkg-config --libs webkit2gtk-4.1)
+NETMAP_LDFLAGS := $(shell $(PKG_CONFIG) --libs webkit2gtk-4.1)
 
 LIBS = `$(PKG_CONFIG) --libs gtk+-3.0` -lrt -lpthread -ltiff -lpng -ljpeg
 

--cWSH1E6pJbVy1o0R--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads