Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 18:35:03 +0400 (MSD)
From:      Michael Bushkov <bushman@stinger.cc.rsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112621: sysutils/lookupd amd64 patch
Message-ID:  <200705121435.l4CEZ3Be056946@stinger.cc.rsu.ru>
Resent-Message-ID: <200705121500.l4CF09u5037676@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112621
>Category:       ports
>Synopsis:       sysutils/lookupd amd64 patch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 12 15:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Bushkov
>Release:        FreeBSD 6.1-RELEASE-p6 i386
>Organization:
Southern Federal University
>Environment:
System: FreeBSD stinger.cc.rsu.ru 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #2: Mon Oct 2 12:14:54 MSD 2006 bushman@stinger.cc.rsu.ru:/usr/obj/usr/src/sys/STINGER_TUNED i386


>Description:
	Doesn't compile on amd64 due to the lack of -fPIC flag in
	snapsot_lib/Makefile
>How-To-Repeat:
	Compile.
>Fix:
--- lookupd_amd64.patch begins here ---
diff -urN lookupd.orig/files/patch-snapshot_lib-Makefile lookupd/files/patch-snapshot_lib-Makefile
--- lookupd.orig/files/patch-snapshot_lib-Makefile	Thu Jan  1 03:00:00 1970
+++ lookupd/files/patch-snapshot_lib-Makefile	Sat May 12 18:20:13 2007
@@ -0,0 +1,11 @@
+--- snapshot_lib/Makefile.orig	Sat May 12 18:18:32 2007
++++ snapshot_lib/Makefile	Sat May 12 18:18:42 2007
+@@ -2,7 +2,7 @@
+ 
+ LIB= snapshot
+ SRCS= snapshot.c
+-CFLAGS+=-I${.CURDIR}/../include
++CFLAGS+=-I${.CURDIR}/../include -fPIC
+ NOMAN= 1
+ NOINSTALLLIB= 1
+ NOPROFILE= 1
--- lookupd_amd64.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705121435.l4CEZ3Be056946>