logo       

darcs patch: msg#00058

Subject: darcs patch
the current curl-config fix doesn't work with the BSD-sed from OS X:
~$ curl-config --libs | sed -e "s_-arch [^ ]+__"
-L/usr/lib -lcurl -arch i386 -arch ppc -lz -lssl -lcrypto -lz

it /would/ work with the regex-parameter:
~$ curl-config --libs | sed -E "s_-arch [^ ]+__"
-L/usr/lib -lcurl  -arch ppc -lz -lssl -lcrypto -lz

but GNU-sed barfs on the -E:
~$ curl-config --libs | gsed -E "s_-arch [^ ]+__"
gsed: invalid option -- E
Usage: gsed [OPTION]... {script-only-if-no-other-script} [input-file]...
[...]

awk may be overkill, but this syntax works with BSD awk, GNU gawk and Tru64 
nawk. The ugly stuff is called quadrigraphs and gets substituted by autoconf
with [ and ], while "real" [ and ] disappear.
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_95.html

Thu Jul 29 20:15:05 CEST 2004  Frank Ruell <stoerte@xxxxxxxxxxxxxxxx>
  * correct libcurl flags

New patches:

[correct libcurl flags
Frank Ruell <stoerte@xxxxxxxxxxxxxxxx>**20040729181505] {
hunk ./configure.ac 268
+dnl Find awk
hunk ./configure.ac 270
+AC_PROG_AWK
+
hunk ./configure.ac 282
-   CURLFLAGS=`curl-config --libs | sed "s_-arch [^ ]+__"`
+   if test -z "$AWK"; then
+       CURLFLAGS=`curl-config --libs | sed "s_-arch @<:@^ @:>@+__"`
+   else
+       CURLFLAGS=`curl-config --libs | $AWK '{sub(/-arch @<:@^ @:>@+/,""); 
print}'`
+   fi
}



Context:

[change --tag to --tags in pull etc.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729104156] 
[give much nicer error message when patch bundle hash fails.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729103553] 
[when takeLock fails, say what file it failed on.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729102451] 
[maintain MIME headers when forwarding patches.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729102429] 
[have a move patch "touch" both files
andrew@xxxxxxxxxxx**20040729001327] 
[trivial typo fix to the manual
egli@xxxxxxxxxx**20040726105158] 
[update TODO.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040728102057] 
[remove a blank line from darcs diff
andrew@xxxxxxxxxxx**20040727215457
 changelog already adds a newline, so there is no need to add another.
] 
[fix interactive prompts on win32 when stdin is a pipe
Will <will@xxxxxxxxxx>**20040727205153] 
[update web page to indicated ghc 6.2 is required.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040727113943] 
[if --last gives more than the size of repo, show entire repo.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040727112730] 
[interface changes in rollback, rerecord and get.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040727112140
 This changes --tag, --patch etc to be a tad more logical.
] 
[TAG 0.9.23
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040726121415] 

Patch bundle hash:
cded49e8f1a97624cc7e7a639b979253c1335822




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe