FreeBSD Bugzilla – Attachment 150485 Details for
Bug 177018
Can't build devel/xsd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch gnu/dep and intel/dep (identical) to work with regular sed and sh
patch-dep (text/plain), 1.63 KB, created by
Mikhail T.
on 2014-12-11 19:16:41 UTC
(
hide
)
Description:
Patch gnu/dep and intel/dep (identical) to work with regular sed and sh
Filename:
MIME Type:
Creator:
Mikhail T.
Created:
2014-12-11 19:16:41 UTC
Size:
1.63 KB
patch
obsolete
>--- build-0.3/c/gnu/dep 2010-04-27 14:22:22.000000000 -0400 >+++ build-0.3/c/gnu/dep 2014-12-11 13:25:01.000000000 -0500 >@@ -1,2 +1,2 @@ >-#! /usr/bin/env bash >+#!/bin/sh > >@@ -21,5 +22,5 @@ > script= > >-function gen_script () >+gen_script () > { > while [ "$1" ]; do >@@ -34,10 +35,10 @@ > # > script="$script"\ >-"s \\ $prefix \\ $path$prefix g;"\ >-"s \\ /usr/include/$prefix \\ $path$prefix g;"\ >-"s \\ /usr/local/include/$prefix \\ $path$prefix g;"\ >-"s ^$prefix $path$prefix ;"\ >-"s ^/usr/include/$prefix $path$prefix ;"\ >-"s ^/usr/local/include/$prefix $path$prefix ;" >+"s| $prefix| $path$prefix|g;"\ >+"s| /usr/include/$prefix| $path$prefix|g;"\ >+"s| /usr/local/include/$prefix| $path$prefix|g;"\ >+"s|^$prefix|$path$prefix|;"\ >+"s|^/usr/include/$prefix|$path$prefix|;"\ >+"s|^/usr/local/include/$prefix|$path$prefix|;" > done > } >--- build-0.3/c/intel/dep 2010-04-27 14:22:22.000000000 -0400 >+++ build-0.3/c/intel/dep 2014-12-11 13:25:01.000000000 -0500 >@@ -1,2 +1,2 @@ >-#! /usr/bin/env bash >+#!/bin/sh > >@@ -21,5 +22,5 @@ > script= > >-function gen_script () >+gen_script () > { > while [ "$1" ]; do >@@ -34,10 +35,10 @@ > # > script="$script"\ >-"s \\ $prefix \\ $path$prefix g;"\ >-"s \\ /usr/include/$prefix \\ $path$prefix g;"\ >-"s \\ /usr/local/include/$prefix \\ $path$prefix g;"\ >-"s ^$prefix $path$prefix ;"\ >-"s ^/usr/include/$prefix $path$prefix ;"\ >-"s ^/usr/local/include/$prefix $path$prefix ;" >+"s| $prefix| $path$prefix|g;"\ >+"s| /usr/include/$prefix| $path$prefix|g;"\ >+"s| /usr/local/include/$prefix| $path$prefix|g;"\ >+"s|^$prefix|$path$prefix|;"\ >+"s|^/usr/include/$prefix|$path$prefix|;"\ >+"s|^/usr/local/include/$prefix|$path$prefix|;" > done > }
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 177018
:
150476
|
150485
|
150513
|
150514