ports/113779: [patch] graphics/lcdtest fails compiling and segfauls

Edwin Groothuis edwin at mavetju.org
Sat Jun 16 23:10:08 UTC 2007


>Number:         113779
>Category:       ports
>Synopsis:       [patch] graphics/lcdtest fails compiling and segfauls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 16 23:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386

>Description:

graphics/lcdtest fails compilation due to missing phtread linking.

And after that, it just segfaults:
	In X:
		[~] edwin at k7>lcdtest 
		Segmentation fault: 11 (core dumped)
	On a console:
		[~] root at k7>lcdtest 
		svgalib: signal 11: segmentation fault: 11 received

>How-To-Repeat:
>Fix:

This will at least fix the compilation issue.

? work
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/lcdtest/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	16 Jun 2007 08:43:57 -0000	1.1
+++ Makefile	16 Jun 2007 22:58:55 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	lcdtest
 PORTVERSION=	1.04
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.brouhaha.com/~eric/software/lcdtest/download/ \
 		CENKES
@@ -19,7 +20,7 @@
 USE_GMAKE=	yes
 USE_SDL=	sdl image
 CFLAGS=		-I${LOCALBASE}/include
-LDFLAGS=	-L${LOCALBASE}/lib
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 MAKE_ENV=	LDFLAGS="${LDFLAGS}"
 MAKE_ARGS=	-o SDL/SDL.h -o SDL/SDL_image.h
 PLIST_FILES=	bin/lcdtest
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list