FreeBSD Bugzilla – Attachment 224744 Details for
Bug 255232
print/texlive-base: pdfjam regex issue at runtime on 13.0 and newer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix regex problem with sed
patch-print_texlive-base_files_pdfjam.diff (text/plain), 1.34 KB, created by
Rainer Hurling
on 2021-05-07 07:32:25 UTC
(
hide
)
Description:
patch to fix regex problem with sed
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2021-05-07 07:32:25 UTC
Size:
1.34 KB
patch
obsolete
>diff --git a/print/texlive-base/files/patch-texk_texlive_linked__scripts_pdfjam_pdfjam b/print/texlive-base/files/patch-texk_texlive_linked__scripts_pdfjam_pdfjam >new file mode 100644 >index 000000000..660f3f2da >--- /dev/null >+++ b/print/texlive-base/files/patch-texk_texlive_linked__scripts_pdfjam_pdfjam >@@ -0,0 +1,26 @@ >+--- texk/texlive/linked_scripts/pdfjam/pdfjam.orig 2013-03-12 00:01:41 UTC >++++ texk/texlive/linked_scripts/pdfjam/pdfjam >+@@ -1143,19 +1143,19 @@ EndTemplate >+ ) > $texFile >+ if test "$hyperref" = false; then ## we don't need hyperref >+ cp $texFile $tempFile >+- sed '/\\\usepackage{hyperref}/d' $tempFile | \ >+- sed '/\\\hypersetup.*/d' > "${texFile}" >++ sed '/\\usepackage{hyperref}/d' $tempFile | \ >++ sed '/\\hypersetup.*/d' > "${texFile}" >+ rm $tempFile >+ fi >+ if test -z "$geometry" ; then geometry=false ; fi >+ if test "$geometry" = false; then ## geometry package is not to be used >+ cp $texFile $tempFile >+- cat $tempFile | sed '/\\\usepackage.*{geometry}/d' > $texFile >++ cat $tempFile | sed '/\\usepackage.*{geometry}/d' > $texFile >+ rm $tempFile >+ fi >+ if test -z "$pagecolor"; then ## color package is not needed >+ cp $texFile $tempFile >+- cat $tempFile | sed '/\\\usepackage.*{color}/d' > $texFile >++ cat $tempFile | sed '/\\usepackage.*{color}/d' > $texFile >+ rm $tempFile >+ fi >+ ##
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
Flags:
rhurlin
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 255232
: 224744