]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/gettext-win32.patch
Merge branch 1.0-bugfix
[vlc] / extras / contrib / src / Patches / gettext-win32.patch
1 --- gettext-0.17/gettext-runtime/intl/Makefile.in       2007-11-04 21:21:12.000000000 +0000
2 +++ gettext/gettext-runtime/intl/Makefile.in    2008-03-07 18:14:53.000000000 +0000
3 @@ -280,15 +280,7 @@
4  # so that they work with the sed-3.02 that is shipped with MSYS. We can use
5  # GNU bash's $'\n' syntax to obtain such a newline.
6  libintl.res: $(srcdir)/libintl.rc
7 -       nl=$$'\n'; \
8 -       sed_extract_major='/^[0-9]/{'$${nl}'s/^\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
9 -       sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
10 -       sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
11 -       $(WINDRES) \
12 -         "-DPACKAGE_VERSION_STRING=\\\"$(VERSION)\\\"" \
13 -         "-DPACKAGE_VERSION_MAJOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_major"` \
14 -         "-DPACKAGE_VERSION_MINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_minor"` \
15 -         "-DPACKAGE_VERSION_SUBMINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_subminor"` \
16 +       $(WINDRES) --use-temp-file `$(top_srcdir)/../windows/windres-options --escape $(VERSION)`\
17           -i $(srcdir)/libintl.rc -o libintl.res --output-format=coff
18  
19  ref-add.sed: $(srcdir)/ref-add.sin
20 --- gettext-0.17/gettext-runtime/intl/libintl.rc        2007-05-27 21:46:52.000000000 +0000
21 +++ gettext/gettext-runtime/intl/libintl.rc     2009-05-18 18:09:12.000000000 +0000
22 @@ -22,13 +22,13 @@
23              VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0"
24              VALUE "CompanyName", "Free Software Foundation\0"
25              VALUE "FileDescription", "LGPLed libintl for Windows NT/2000/XP/Vista and Windows 95/98/ME\0"
26 -            VALUE "FileVersion", PACKAGE_VERSION_STRING "\0"
27 +            VALUE "FileVersion", "\0"
28              VALUE "InternalName", "intl.dll\0"
29              VALUE "LegalCopyright", "Copyright (C) 1995-2007\0"
30              VALUE "LegalTrademarks", "\0"
31              VALUE "OriginalFilename", "intl.dll\0"
32              VALUE "ProductName", "libintl: accessing NLS message catalogs\0"
33 -            VALUE "ProductVersion", PACKAGE_VERSION_STRING "\0"
34 +            VALUE "ProductVersion", "\0"
35          END
36      END
37      BLOCK "VarFileInfo"