[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057376: symbols marked as hidden causes FTBFS in pixmap



Source: libxpm
Version: 1:3.5.17-1
Severity: important
Tags: patch

commit 7f60f3428aa21d5d643eb75bfd9417cfabf48970
on libxpm hides a number of symbols. However a couple of these symbols
are used in pixmap, causing a FTBFS on pixmap. These symbols are
xpmReadRgbNames and xpmGetRgbName, xpmFreeRgbNames is related.

I have confirmed that applying this patch lets pixmap compile
successfully.

Thanks,
Paul


-- System Information:
Debian Release: 12.2
  APT prefers stable
  APT policy: (800, 'stable'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'oldstable'), (100, 'bookworm-fasttrack'), (100, 'bookworm-backports-staging')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
--- src/XpmI.h.orig	2023-11-23 14:44:47.292681988 +0100
+++ src/XpmI.h	2023-12-04 09:45:48.899058512 +0100
@@ -261,10 +261,10 @@
 
 /* RGB utility */
 
-HFUNC(xpmReadRgbNames, int, (const char *rgb_fname, xpmRgbName *rgbn));
-HFUNC(xpmGetRgbName, char *, (xpmRgbName *rgbn, int rgbn_max,
+FUNC(xpmReadRgbNames, int, (const char *rgb_fname, xpmRgbName *rgbn));
+FUNC(xpmGetRgbName, char *, (xpmRgbName *rgbn, int rgbn_max,
 			     int red, int green, int blue));
-HFUNC(xpmFreeRgbNames, void, (xpmRgbName *rgbn, int rgbn_max));
+FUNC(xpmFreeRgbNames, void, (xpmRgbName *rgbn, int rgbn_max));
 #ifdef FOR_MSW
 HFUNC(xpmGetRGBfromName,int, (char *name, int *r, int *g, int *b));
 #endif

Reply to: