Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 639104 Details for
Bug 721880
sys-process/runit calls ar directly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
make ar, ranlib configurable
bug721880-dont-hardcode-ar-ranlib.patch (text/plain), 1.23 KB, created by
Enne Eziarc
on 2020-05-14 23:20:38 UTC
(
hide
)
Description:
make ar, ranlib configurable
Filename:
MIME Type:
Creator:
Enne Eziarc
Created:
2020-05-14 23:20:38 UTC
Size:
1.23 KB
patch
obsolete
>diff --git a/Makefile b/Makefile >index d9624de33..9f82e96a6 100644 >--- a/Makefile >+++ b/Makefile >@@ -257,7 +257,7 @@ lock_ex.o: compile hasflock.h lock.h lock_ex.c > lock_exnb.o: compile hasflock.h lock.h lock_exnb.c > ./compile lock_exnb.c > >-makelib: print-ar.sh systype warn-auto.sh >+makelib: conf-ar print-ar.sh systype warn-auto.sh > rm -f makelib > sh print-ar.sh > makelib > chmod 555 makelib >diff --git a/conf-ar b/conf-ar >new file mode 100644 >index 000000000..13beaeec7 >--- /dev/null >+++ b/conf-ar >@@ -0,0 +1 @@ >+ar >diff --git a/conf-ranlib b/conf-ranlib >new file mode 100644 >index 000000000..6906e90ca >--- /dev/null >+++ b/conf-ranlib >@@ -0,0 +1 @@ >+ranlib >diff --git a/print-ar.sh b/print-ar.sh >index 99bc1162f..21d7cd2b1 100644 >--- a/print-ar.sh >+++ b/print-ar.sh >@@ -1,8 +1,12 @@ >+ar="`head -n1 conf-ar`" >+ranlib="`head -n1 conf-ranlib`" >+systype="`cat systype`" >+ > cat warn-auto.sh > echo 'main="$1"; shift' > echo 'rm -f "$main"' >-echo 'ar cr "$main" ${1+"$@"}' >-case "`cat systype`" in >+echo "$ar" 'cr "$main" ${1+"$@"}' >+case "$systype" in > sunos-5.*) ;; > unix_sv*) ;; > irix64-*) ;; >@@ -10,5 +14,5 @@ case "`cat systype`" in > dgux-*) ;; > hp-ux-*) ;; > sco*) ;; >- *) echo 'ranlib "$main"' ;; >+ *) echo "$ranlib" '"$main"' ;; > esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 721880
:
637068
| 639104