The following reply was made to PR kern/157879; it has been noted by GNATS.

From: Guillem Jover <[email protected]>
To: [email protected], [email protected]
Cc:  
Subject: Re: kern/157879: [libgeom] ABI change without version bump in 8.2
Date: Thu, 16 Jun 2011 11:25:34 +0200

 --mP3DRpeJDSE+ciuQ
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 
 Hi!
 
 The ‘struct gprovider’ got two new members in the middle of a public
 struct, so this might cause programs built against the old headers to
 access the wrong member with the new library or the other way around.
 That's exactly what happened to us at least with grub2.
 
 I'm attaching the trivial patch we are using in Debian GNU/kFreeBSD.
 
 thanks,
 guillem
 
 --mP3DRpeJDSE+ciuQ
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="libgeom_abi_bump.patch"
 
 Index: lib/libgeom/Makefile
 ===================================================================
 --- lib/libgeom/Makefile       (revision 223144)
 +++ lib/libgeom/Makefile       (working copy)
 @@ -1,6 +1,7 @@
  # $FreeBSD$
  
  LIB=  geom
 +SHLIB_MAJOR=  1
  SHLIBDIR?= /lib
  SRCS+=        geom_getxml.c
  SRCS+=        geom_stats.c
 
 --mP3DRpeJDSE+ciuQ--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"

Reply via email to