gettext-win32.patch
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:

midi

开发平台:

Unix_Linux

  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) `$(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