[MacPorts] #49821: libsndfile - update to 1.0.26
MacPorts
noreply at macports.org
Thu Nov 26 12:20:28 PST 2015
#49821: libsndfile - update to 1.0.26
-------------------------+--------------------------------
Reporter: hans@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: libsndfile |
-------------------------+--------------------------------
Old description:
> Here is a patch to the Portfile of audio/libsndfile
> which brings it to the latest 1.0.26 release,
> and the upgraded version of files/
>
> The speex.patch removes SPEEX_* from EXTERNAL_* in configure;
> I believe speex.patch is a better name, and configure.patch
> should be replaced with this.
>
> The carbon.patch is a better version of fix-include.patch
> which it should replace. Not only does it remove the Carbon.h include
> from sndfile-play.c, but it removes Carbon altogether.
>
> I am leaving src__config.h.ed as is, but I am not completely sure
> about its purpose; if __BIG_ENDIAN__, __LP64__, etc, is defined,
> then ./configure (which creates config.h) is supposed to figure out
> the SIZEOF_LONG etc, right? If not, it's a bug in configure,
> not something we should patch in the resulting config.h, right?
>
> I also removed the sqlite variant from the Portfile.
> Only sndfile-regtest uses sqlite; does anybody use sndfile-regtest?
>
> Jan
New description:
Here is a patch to the `Portfile` of audio/libsndfile
which brings it to the latest 1.0.26 release,
and the upgraded version of `files/`
The `speex.patch` removes `SPEEX_*` from `EXTERNAL_*` in `configure`;
I believe `speex.patch` is a better name, and `configure.patch`
should be replaced with this.
The `carbon.patch` is a better version of `fix-include.patch`
which it should replace. Not only does it remove the `Carbon.h` include
from `sndfile-play.c`, but it removes Carbon altogether.
I am leaving `src__config.h.ed` as is, but I am not completely sure
about its purpose; if `__BIG_ENDIAN__`, `__LP64__`, etc, is defined,
then `./configure` (which creates `config.h`) is supposed to figure out
the `SIZEOF_LONG` etc, right? If not, it's a bug in `configure`,
not something we should patch in the resulting `config.h`, right?
I also removed the sqlite variant from the Portfile.
Only sndfile-regtest uses sqlite; does anybody use sndfile-regtest?
Jan
--
Comment (by ryandesign@…):
Replying to [comment:1 hans@…]:
> (The double underscore fucked up my message.)
I fixed your formatting. Remember to use WikiFormatting and to preview
before submitting.
> I am leaving `src__config.h.ed` as is, but I am not completely sure
> about its purpose; if `__BIG_ENDIAN__`, `__LP64__`, etc, is defined,
> then ./configure (which creates config.h) is supposed to figure out
> the `SIZEOF_LONG` etc, right? If not, it's a bug in configure,
> not something we should patch in the resulting config.h, right?
You can easily discover using "svn log" and "svn blame" that this file was
added in r42762 to resolve #17088, when libsndfile was at version 1.0.17.
I cannot tell you whether it is still needed today at version 1.0.26 but
you could certainly test and find out whether the problem described in
#17088 returns if you remove it. If it does, then you should not remove
the patch. If this ed script fixes the problem, I'm not concerned about
whether there are other ways that the problem could have been fixed. Using
ed scripts to fix this type of problem has precedent in MacPorts; see the
glib2 port for example.
--
Ticket URL: <https://trac.macports.org/ticket/49821#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list