ALT Linux Bugzilla
– Attachment 12768 Details for
Bug 45589
fpc-compiler has hardwired error messages in Russian
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
sample fpc.spec patch
fpc.spec.diff (text/plain), 1.55 KB, created by
Michael Shigorin
on 2023-03-20 14:19:25 MSK
(
hide
)
Description:
sample fpc.spec patch
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2023-03-20 14:19:25 MSK
Size:
1.55 KB
patch
obsolete
>diff --git a/fpc.spec b/fpc.spec >index 78608db0d..28143a7cf 100644 >--- a/fpc.spec >+++ b/fpc.spec >@@ -48,6 +48,8 @@ Source9: fpctoc.htx > Source10: base.%ppctarget.tar.gz > %endif > >+Source11: fpc-l10n-setup.sh >+ > # Patches from Mageia > # Fix http://bugs.freepascal.org/view.php?id=23682 > Patch1: fpc-fpkeys.patch >@@ -263,7 +265,7 @@ install -p -m 644 utils/fppkg/units/%ppctarget/*.{o,ppu} %buildroot%fpc_dir/unit > sed -i "s|\$fpctarget|%ppctarget|g" %buildroot%_sysconfdir/%name.cfg > sed -i "s|\$fpctarget|%ppctarget|g" %buildroot%_sysconfdir/fp.cfg > sed -i "s|/usr/lib|%_libdir|g" %buildroot%_sysconfdir/fp.cfg >-sed -i "s|errorn.msg|errorn.msg\n-Fr%fpc_dir/msg/errorru.msg|g" %buildroot%_sysconfdir/%name.cfg >+sed -i "s|errorn.msg|errorn.msg\n#-Fr%fpc_dir/msg/errorru.msg|g" %buildroot%_sysconfdir/%name.cfg > sed -i "s|\$fpcversion|fpc|g" %buildroot%_sysconfdir/%name.cfg > > popd >@@ -318,6 +320,10 @@ rm -f %buildroot%_bindir/installer > # Create directory for fppkgconf.d/*.conf > mkdir -p %buildroot%_sysconfdir/fppkgconf.d > >+# l10n setup script >+sed 's,/etc/fpc.cfg,%_sysconfdir/%name.cfg,' \ >+ <%SOURCE11 >%buildroot%_bindir/fpc-l10n-setup >+ > %files > > %package common >@@ -376,6 +382,7 @@ This package contains the command line compiler. > %_bindir/fpcmkcfg* > %_bindir/fppkg > %_bindir/grab_vcsa >+%_bindir/fpc-l10n-setup > %fpc_dir/samplecfg > %fpc_dir/ppc* > %fpc_dir/msg >@@ -387,6 +394,9 @@ This package contains the command line compiler. > %_man1dir/grab_vcsa.* > %_man5dir/fpc.cfg.* > >+%post compiler >+%_bindir/fpc-l10n-setup ||: >+ > # utils > %package utils > Summary: Free Pascal -- Utils
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45589
:
12767
| 12768