OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
6.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../qtcurve/head.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. diff -urN QtCurve-0.21.orig/acinclude.m4 QtCurve-0.21/acinclude.m4
  18. --- QtCurve-0.21.orig/acinclude.m4 2004-02-16 17:14:15.000000000 -0500
  19. +++ QtCurve-0.21/acinclude.m4 2004-05-16 21:12:21.000000000 -0400
  20. @@ -9876,7 +9876,7 @@
  21. # If the export-symbols file already is a .def file (1st line
  22. # is EXPORTS), use it as is.
  23. # If DATA tags from a recent dlltool are present, honour them!
  24. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  25. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  26. cp $export_symbols $output_objdir/$soname-def;
  27. else
  28. echo EXPORTS > $output_objdir/$soname-def;
  29. diff -urN QtCurve-0.21.orig/aclocal.m4 QtCurve-0.21/aclocal.m4
  30. --- QtCurve-0.21.orig/aclocal.m4 2004-04-22 12:22:05.000000000 -0400
  31. +++ QtCurve-0.21/aclocal.m4 2004-05-16 21:10:54.000000000 -0400
  32. @@ -9854,7 +9854,7 @@
  33. # If the export-symbols file already is a .def file (1st line
  34. # is EXPORTS), use it as is.
  35. # If DATA tags from a recent dlltool are present, honour them!
  36. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  37. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  38. cp $export_symbols $output_objdir/$soname-def;
  39. else
  40. echo EXPORTS > $output_objdir/$soname-def;
  41. diff -urN QtCurve-0.21.orig/admin/cvs.sh QtCurve-0.21/admin/cvs.sh
  42. --- QtCurve-0.21.orig/admin/cvs.sh 2003-02-20 07:36:14.000000000 -0500
  43. +++ QtCurve-0.21/admin/cvs.sh 2004-05-16 21:09:40.000000000 -0400
  44. @@ -27,7 +27,7 @@
  45. check_autotool_versions()
  46. {
  47. -AUTOCONF_VERSION=`$AUTOCONF --version | head -1`
  48. +AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
  49. case $AUTOCONF_VERSION in
  50. Autoconf*2.5* | autoconf*2.5* ) : ;;
  51. "" )
  52. @@ -42,7 +42,7 @@
  53. ;;
  54. esac
  55. -AUTOHEADER_VERSION=`$AUTOHEADER --version | head -1`
  56. +AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
  57. case $AUTOHEADER_VERSION in
  58. Autoconf*2.5* | autoheader*2.5* ) : ;;
  59. "" )
  60. @@ -57,7 +57,7 @@
  61. ;;
  62. esac
  63. -AUTOMAKE_STRING=`$AUTOMAKE --version | head -1`
  64. +AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
  65. case $AUTOMAKE_STRING in
  66. automake*1.5d* )
  67. echo "*** YOU'RE USING $AUTOMAKE_STRING."
  68. @@ -247,10 +247,10 @@
  69. echo "AC_OUTPUT" >> configure.in.new
  70. modulename=
  71. if test -f configure.in.in; then
  72. - if head -2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
  73. + if head -n 2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
  74. kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"`
  75. fi
  76. - if head -2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
  77. + if head -n 2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
  78. line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in`
  79. if test -n "$line"; then
  80. modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"`
  81. @@ -290,7 +290,7 @@
  82. done
  83. rm -f configure.files
  84. touch configure.files
  85. -if test -f configure.in.in && head -2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
  86. +if test -f configure.in.in && head -n 2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
  87. echo $admindir/configure.in.min >> configure.files
  88. fi
  89. test -f configure.in.in && echo configure.in.in >> configure.files
  90. @@ -305,8 +305,8 @@
  91. subdirs()
  92. {
  93. dirs=
  94. -compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -1`
  95. -compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -1`
  96. +compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
  97. +compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
  98. for i in `ls -1`; do
  99. if test -f $i/Makefile.am; then
  100. case " $compilefirst $compilelast " in
  101. @@ -323,11 +323,11 @@
  102. done
  103. (for d in $dirs; do
  104. - list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -1`
  105. + list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
  106. for s in $list; do
  107. echo $s $d
  108. done
  109. - list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -1`
  110. + list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
  111. for s in $list; do
  112. echo $d $s
  113. done
  114. diff -urN QtCurve-0.21.orig/admin/libtool.m4.in QtCurve-0.21/admin/libtool.m4.in
  115. --- QtCurve-0.21.orig/admin/libtool.m4.in 2003-02-20 07:36:14.000000000 -0500
  116. +++ QtCurve-0.21/admin/libtool.m4.in 2004-05-16 21:10:26.000000000 -0400
  117. @@ -4503,7 +4503,7 @@
  118. # If the export-symbols file already is a .def file (1st line
  119. # is EXPORTS), use it as is.
  120. # If DATA tags from a recent dlltool are present, honour them!
  121. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  122. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  123. cp $export_symbols $output_objdir/$soname-def;
  124. else
  125. echo EXPORTS > $output_objdir/$soname-def;
  126. diff -urN QtCurve-0.21.orig/configure QtCurve-0.21/configure
  127. --- QtCurve-0.21.orig/configure 2004-04-22 12:22:25.000000000 -0400
  128. +++ QtCurve-0.21/configure 2004-05-16 21:11:51.000000000 -0400
  129. @@ -7902,7 +7902,7 @@
  130. # If the export-symbols file already is a .def file (1st line
  131. # is EXPORTS), use it as is.
  132. # If DATA tags from a recent dlltool are present, honour them!
  133. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  134. + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  135. cp $export_symbols $output_objdir/$soname-def;
  136. else
  137. echo EXPORTS > $output_objdir/$soname-def;
  138. @@ -13845,7 +13845,7 @@
  139. # If the export-symbols file already is a .def file (1st line
  140. # is EXPORTS), use it as is.
  141. # If DATA tags from a recent dlltool are present, honour them!
  142. - archive_expsym_cmds_GCJ='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  143. + archive_expsym_cmds_GCJ='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  144. cp $export_symbols $output_objdir/$soname-def;
  145. else
  146. echo EXPORTS > $output_objdir/$soname-def;