From 97572382a39d96f88058da38122e81cb01b1da22 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 16 May 2008 11:45:01 +0000 Subject: [PATCH] - paps-autoconf262.patch: Fix an error on autoreconf. --- paps-autoconf262.patch | 24 ++++++++++++++++++++++++ paps.spec | 5 +++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 paps-autoconf262.patch diff --git a/paps-autoconf262.patch b/paps-autoconf262.patch new file mode 100644 index 0000000..1a1c16b --- /dev/null +++ b/paps-autoconf262.patch @@ -0,0 +1,24 @@ +diff -pruN paps-0.6.8.orig/acinclude.m4 paps-0.6.8/acinclude.m4 +--- paps-0.6.8.orig/acinclude.m4 2006-11-29 05:11:50.000000000 +0900 ++++ paps-0.6.8/acinclude.m4 2008-05-16 20:36:03.000000000 +0900 +@@ -76,9 +76,9 @@ AC_DEFUN([DX_IF_FEATURE], [ifelse(DX_FEA + # Require the specified program to be found for the DX_CURRENT_FEATURE to work. + AC_DEFUN([DX_REQUIRE_PROG], [ + AC_PATH_TOOL([$1], [$2]) +-if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then ++if test "$DX_FLAG_DX_CURRENT_FEATURE$$1" = 1; then + AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION]) +- AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0) ++ AC_SUBST([DX_FLAG_DX_CURRENT_FEATURE], 0) + fi + ]) + +@@ -101,7 +101,7 @@ test "$DX_FLAG_$1" = "$2" \ + # ---------------------------------------------------------- + # Turn off the DX_CURRENT_FEATURE if the required feature is off. + AC_DEFUN([DX_CLEAR_DEPEND], [ +-test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0) ++test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_DX_CURRENT_FEATURE], 0) + ]) + + # DX_FEATURE_ARG(FEATURE, DESCRIPTION, diff --git a/paps.spec b/paps.spec index 820707c..552d3fc 100644 --- a/paps.spec +++ b/paps.spec @@ -20,7 +20,7 @@ Patch4: paps-0.6.6-exitcode.patch Patch50: paps-cups.patch Patch51: paps-cpilpi.patch Patch52: paps-dsc-compliant.patch -Patch61: paps-0.6.6-fix-wcswidth.patch +Patch53: paps-autoconf262.patch Summary: Plain Text to PostScript converter Group: Applications/Publishing @@ -55,7 +55,7 @@ applications using paps API. %patch50 -p1 -b .cups %patch51 -p1 -b .cpilpi %patch52 -p1 -b .dsc -#%patch11 -p1 -b .wcswidth +%patch53 -p1 -b .autoconf262 autoreconf @@ -100,6 +100,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Fri May 16 2008 Akira TAGOH - 0.6.8-6 - paps-cups.patch: Fix printing with -o landscape in CUPS. (#222137) +- paps-autoconf262.patch: Fix an error on autoreconf. * Tue Feb 12 2008 Akira TAGOH - 0.6.8-5 - Rebuild for gcc-4.3.