diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 07:22:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-16 12:50:06 +0000 |
commit | 04a7dda6a6e34b48dcd5fc98e68dd4751b7ac1b7 (patch) | |
tree | b06a2339c45cecf61670ba1ff8c18db530a254cc /main/abuild/0001-abuild-add-version-number-to-provides.patch | |
parent | 210db07a31ce1ef69640bd2c0f69aae398762ca2 (diff) | |
download | aports-04a7dda6a6e34b48dcd5fc98e68dd4751b7ac1b7.tar.bz2 aports-04a7dda6a6e34b48dcd5fc98e68dd4751b7ac1b7.tar.xz |
main/abuild: more provides fixes
need special handling when file name is .so (no version number suffix)
and soname has a version number suffix. This is so we dont set provides
version to 0 when it should have been something else.
This fixes issue with libgcj/gcc-java who ships a file libgcj_bc.so with
soname libgcj_bc.so.1 in addition to the libgcj_bc.so.1.0.0 file.
We cannot have 2 provides with same name but with different version.
Diffstat (limited to 'main/abuild/0001-abuild-add-version-number-to-provides.patch')
-rw-r--r-- | main/abuild/0001-abuild-add-version-number-to-provides.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/main/abuild/0001-abuild-add-version-number-to-provides.patch b/main/abuild/0001-abuild-add-version-number-to-provides.patch deleted file mode 100644 index 32a50dbfe..000000000 --- a/main/abuild/0001-abuild-add-version-number-to-provides.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 7ca99d75b3c810546fec0418662586e34be141cd Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Wed, 5 Sep 2012 08:10:13 +0000 -Subject: [PATCH] abuild: add version number to provides - -So it is not treated as a special 'virtual' -We use version number 0 for now. ---- - abuild.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/abuild.in b/abuild.in -index 207cc66..f4d724c 100755 ---- a/abuild.in -+++ b/abuild.in -@@ -921,7 +921,7 @@ trace_apk_deps() { - - echo "# automatically detected:" >> "$dir"/.PKGINFO - if [ -f "$dir"/.provides-so ]; then -- sed 's/^/provides = /' "$dir"/.provides-so >> "$dir"/.PKGINFO -+ sed 's/^\(.*\)/provides = \1=0/' "$dir"/.provides-so >> "$dir"/.PKGINFO - fi - [ -z "$autodeps" ] && return 0 - for i in $autodeps; do --- -1.7.12 - |