pidgin: 012eabf5: Fix cross-compile on OSX, working around...

datallah at pidgin.im datallah at pidgin.im
Sat Feb 13 13:55:27 EST 2010


-----------------------------------------------------------------
Revision: 012eabf54827bbaf5588c9e59939238c6003dc22
Ancestor: 0f0a1bc362f71dfc0f4d78dd9a2056f4087c1025
Author: datallah at pidgin.im
Date: 2010-02-13T18:51:00
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/012eabf54827bbaf5588c9e59939238c6003dc22

Modified files:
        libpurple/win32/targets.mak

ChangeLog: 

Fix cross-compile on OSX, working around an apparently crippled sed.
I used the MinGW binaries from http://crossgcc.rts-software.org/doku.php

-------------- next part --------------
============================================================
--- libpurple/win32/targets.mak	a35247c1bfef29d3ae1f640770b9cad4c322c395
+++ libpurple/win32/targets.mak	7cff707c2b39ce335a246a4cddf81b74de1dd19e
@@ -23,7 +23,7 @@ $(PIDGIN_REVISION_H): $(PIDGIN_REVISION_
 
 $(PIDGIN_REVISION_H): $(PIDGIN_REVISION_RAW_TXT)
 	if [ -f $< ]; then \
-		sed 's/^\(.\+\)$$/#define REVISION "\1"/' $< > $@; \
+		sed 's/^\(.\{1,\}\)$$/#define REVISION "\1"/' $< > $@; \
 	fi
 	[ -f $@ ] || echo "#define REVISION \"unknown\"" > $@
 


More information about the Commits mailing list