[Pkg-jed-commit] r278 - trunk/packages/jed/debian/patches

Rafael Laboissiere rafael at costa.debian.org
Tue May 16 10:22:04 UTC 2006


Author: rafael
Date: 2006-05-16 10:22:03 +0000 (Tue, 16 May 2006)
New Revision: 278

Modified:
   trunk/packages/jed/debian/patches/00list
Log:
The previous syntax of the #if cpp conditional was not working for me.
Even after changing DEB_BUILD_ARCH_OS to DEB_BUILD_ARCH (as indicated
in the man page of dpatch), ./debian/rules patch failed with:

debian/patches/00list:7:5: error: token ""i386"" is not valid in preprocessor expressions
debian/patches/00list:12:5: error: token ""i386"" is not valid in preprocessor expressions
m

I hope that DEB_BUILD_ARCH_hurd and DEB_BUILD_ARCH_kfreebsd will work
on hurd and kfreebsd systems.  We will figure this out after the
release of 0.99.18-1 to experimental.


Modified: trunk/packages/jed/debian/patches/00list
===================================================================
--- trunk/packages/jed/debian/patches/00list	2006-05-15 15:19:35 UTC (rev 277)
+++ trunk/packages/jed/debian/patches/00list	2006-05-16 10:22:03 UTC (rev 278)
@@ -4,12 +4,12 @@
 50_jed.tex
 50_popups.sl
 
-#if DEB_BUILD_ARCH_OS != hurd
+#if ! defined (DEB_BUILD_ARCH_hurd)
   /* The xrender extension is not supported on the hurd: #95843 */
 50_enable-xrenderfont
 #endif
 
-#if DEB_BUILD_ARCH_OS != hurd && DEB_BUILD_ARCH_OS != kfreebsd
+#if ! defined (DEB_BUILD_ARCH_hurd) && ! defined (DEB_BUILD_ARCH_kfreebsd)
   /* libgpm is not supported by these architectures: #345268 #95843 */
 60_gpm-mouse-support
 #endif




More information about the Pkg-jed-commit mailing list