stream: remove anonymous union
[vlc.git] / po / makefile-qt4.patch
blobe4ab32acb1a49a95614153076a16f4ad2ad1fc94
1 commit 8e13f257224e02c91c3b40db99ba5cf9ef52f542
2 Author: Christophe Mutricy <xtophe@videolan.org>
3 Date: Sun Jul 27 00:10:51 2008 +0100
5 Hack to take care of qt strings with ampersand
7 We will need to reapply this diff when we upgrade Makefile.in.in from a
8 newer gettext
10 diff --git a/po/Makefile.in.in b/po/Makefile.in.in
11 index fecf500..13256d8 100644
12 --- a/po/Makefile.in.in
13 +++ b/po/Makefile.in.in
14 @@ -166,6 +166,8 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
15 --msgid-bugs-address="$$msgid_bugs_address" \
16 ;; \
17 esac
18 + sed 's/&amp;/\&/' $(DOMAIN).po > $(DOMAIN).po1 && \
19 + mv $(DOMAIN).po1 $(DOMAIN).po;
20 test ! -f $(DOMAIN).po || { \
21 if test -f $(srcdir)/$(DOMAIN).pot; then \
22 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \