ports/73543: [PATCH] Broken devel/avltree

Olivier Beyssac ob-ports at r14.freenix.org
Thu Nov 4 22:00:34 UTC 2004


>Number:         73543
>Category:       ports
>Synopsis:       [PATCH] Broken devel/avltree
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 04 22:00:33 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Beyssac
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD r14.redhate.org 5.3-STABLE FreeBSD 5.3-STABLE #2: Sat Oct 30 20:02:08 CEST 2004 ob at r14.redhate.org:/usr/src/sys/i386/compile/R14 i386


>Description:
	Default avltree Makefile strips (and breaks) libavltree.a.
	Included patch replaces strip with ranlib (fix suggested by
	Bertrand Petit).
>How-To-Repeat:
	Try to compile devel/avltree and link it to a program using
	library functions.
>Fix:

diff -urN avltree.orig/files/patch-aa avltree/files/patch-aa
--- avltree.orig/files/patch-aa	Sun Oct 19 10:45:27 2003
+++ avltree/files/patch-aa	Thu Nov  4 22:38:12 2004
@@ -1,6 +1,6 @@
---- Makefile.orig	Thu Jan 13 13:04:47 2000
-+++ Makefile	Sun Oct 19 01:44:36 2003
-@@ -3,7 +3,8 @@
+--- Makefile.orig	Thu Jan 13 22:04:47 2000
++++ Makefile	Thu Nov  4 22:36:55 2004
+@@ -3,16 +3,17 @@
  # Date created:		13 January 2000
  # Whom:			Bill Ross <bross at nas.nasa.gov> <ross at cgl.ucsf.edu>
  #
@@ -10,8 +10,10 @@
  
  all:		libavltree.a
  
-@@ -12,7 +13,7 @@
- 		strip libavltree.a
+ libavltree.a:	avltree.o
+ 		$(AR) r  libavltree.a avltree.o
+-		strip libavltree.a
++		ranlib libavltree.a
  
  avltree.o: 	avltree.c avltree.h
 -		$(CC) -c avltree.c
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list