Date: Sun, 13 Jun 1999 12:56:58 GMT From: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org Cc: jseger@freebsd.org Subject: ports/12197: ports/graphics/xpm/patches/patch-aa to get appropriate libXpm Message-ID: <199906131256.MAA04405@jhs.muc.de>
next in thread | raw e-mail | index | archive | help
>Number: 12197 >Category: ports >Synopsis: patch to ports/graphics/xpm to get appropriate libXpm >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 13 17:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Julian H. Stacey jhs@freebsd.org,jhs@muc.de >Release: FreeBSD 3.2-RELEASE i386 >Organization: FreeBSD >Environment: On a 3.2 Elf system, converting system back to aout format from elf (as I need gzipped binaries on my small laptop disc, & gzipped executables are only supported on aout format, not elf) >Description: In ports/graphics/xpm/work/xpm-3.4k/sxpm/Makefile we see this: cc -o sxpm -O2 -L/usr/X11R6/lib sxpm.o \ -L../lib -L/usr/X11R6/lib -lXpm -lXt -lSM -lICE -lXext -lX11 \ -lxpg4 -Wl,-R,/usr/X11R6/lib:/usr/X11R6/lib sxpm.o: Undefined symbol `_XpmReadFileToPixmap' \ referenced from text segment sxpm.o: Undefined symbol `_XpmCreatePixmapFromData' \ referenced from text segment Need to remove first of the 2 -L/usr/X11R6/lib as we should trust our local fresh compiled library, rather than system lib that might be old/damaged/wrong format. >How-To-Repeat: Not sure if this sufficient, & not only way, but try: Have elf type libXpm libs in /usr/X11R6, set objformat aout make >Fix: (BTW I notice PORTOBJFORMAT definition in ports/Mk/bsd.port.mk, but think it's use not appropriate here, as regardless of objformat, it's still better to link against local lib. ) Here is new patch file for ports/graphics/xpm/patches/patch-aa ------- *** sxpm/Imakefile.orig Thu Mar 19 20:51:01 1998 --- sxpm/Imakefile Sun Jun 13 14:19:16 1999 *************** *** 96,98 **** --- 96,100 ---- clean:: $(RM) sxpmout.xpm + XCOMM unset LDPRELIBS to ensure we link with local lib not system lib + LDPRELIBS= ------- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906131256.MAA04405>