> Date: Fri, 22 Apr 2011 14:54:06 +0200
> From: Stefan Sperling <s...@openbsd.org>
> 
> These ports have now been fixed. I am now waiting for OKs to commit wprintf.
> The full wprintf diff is below, as well as a diff to bump libc and libstdc++.
> 
> Index: lib/libc/shlib_version
> ===================================================================
> RCS file: /cvs/src/lib/libc/shlib_version,v
> retrieving revision 1.128
> diff -u -p -r1.128 shlib_version
> @@ -1,4 +1,4 @@
> -major=58
> +major=59
>  minor=1
>  # note: If changes were made to include/thread_private.h or if system
>  # calls were added/changed then libpthread must also be updated.

Since you're only adding new functions, you should bump the minor
instead of the major.

Also, note that if you do bump the major, you should reset the minor to 0.

> Index: gnu/lib/libstdc++-v3/shlib_version
> ===================================================================
> RCS file: /cvs/src/gnu/lib/libstdc++-v3/shlib_version,v
> retrieving revision 1.1
> diff -u -p -r1.1 shlib_version
> @@ -1,2 +1,2 @@
> -major=50
> +major=51
>  minor=0

Here, bumping the major is probably the right thing to do, since the
availability of wprintf is likely to affect the ABI through autoconf
magic that is difficult to track.

Reply via email to