[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Patches in Red Hat SRPM

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-10-26 04:03:51 CEST

Kenneth Porter wrote:
> I'm building the latest Rawhide SRPM:
>
> <http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/subversion-1.1.0-5.src.rpm>
>
> I note that it includes 4 patches. Are any of these appropriate to include
> in the upstream sources? Here's the patch comments:
>
> Patch .swig:
> Remove code to pick up LDFLAGS for swig; breaks for lib64.
>
> Patch .deplibs:
> APR and APR-util are patched to store dependencies in the .la file.
>
> Patch .rpath:
> Only pass -rpath $(libdir) on the link line when linking libraries,
> not programs.
>
> Patch .pie:
> Build subversion executables as PIEs. Requires a slight jig to
> ensure that executables in the test suite are *not* build using
> -pie, since that doesn't work when main() is not itself an
> object built with -pie.

mirrorservice.org allows you to peek inside archive files (including rpms)
it mirrors, and download individual files from inside the rpm - for example,
download just the patches, rather then the entire SRPM:

<http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/subversion-1.1.0-5.src.rpm%5Bpeek%5D>

The "swig" and "rpath" patches are probably suitable to be included
upstream. "deplibs" appears to be in response to Fedora-local patching of
apr. Some of the infrastructure in "pie" might be absorbable, to make the
"pie" patch smaller.

Max.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 26 04:04:24 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.