Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37739937
en ru br
Репозитории ALT
S:10.01.1-alt1
5.1: 9.01-alt0.M50P.1
4.1: 8.63-alt0.M41.4
4.0: 8.15.4-alt1.M40.4
+updates:8.15.4-alt1.M40.4
3.0: 7.07.1-alt7
www.altlinux.org/Changes

Группа :: Издательство
Пакет: ghostscript

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: Ubuntu-2003_support_multiarch.patch
Скачать


Description: Check multiarch paths
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2011-09-19
---
This patch header follows DEP-3: https://dep.debian.net/deps/dep3/
--- a/base/unix-aux.mak
+++ b/base/unix-aux.mak
@@ -109,37 +109,37 @@
 	$(ECHOGS_XE) -a $(gconfig__h)
 
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 ifndef HAVE_DIRENT_H
-	if ( test -f $(INCLUDE)/dirent.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_DIRENT_H 1; \
+	if ( test -f $(INCLUDE)/dirent.h || test -f $(INCLUDE)/$(DEB_HOST_MULTIARCH)/dirent.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_DIRENT_H 1; \
               else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_DIRENT_H 0; fi
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 endif
 	$(ECHOGS_XE) -a $(gconfig__h)
 
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 ifndef HAVE_NDIR_H
-	if ( test -f $(INCLUDE)/ndir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_NDIR_H 1; \
+	if ( test -f $(INCLUDE)/ndir.h || test -f $(INCLUDE)/$(DEB_HOST_MULTIARCH)/ndir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_NDIR_H 1; \
               else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_NDIR_H 0; fi
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 endif
 	$(ECHOGS_XE) -a $(gconfig__h)
 
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 ifndef HAVE_SYS_DIR_H
-	if ( test -f $(INCLUDE)/sys/dir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_DIR_H 1; \
+	if ( test -f $(INCLUDE)/sys/dir.h || test -f $(INCLUDE)/$(DEB_HOST_MULTIARCH)/sys/dir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_DIR_H 1; \
               else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_DIR_H 0; fi
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 endif
 	$(ECHOGS_XE) -a $(gconfig__h)
 
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 ifndef HAVE_SYS_NDIR_H
-	if ( test -f $(INCLUDE)/sys/ndir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_NDIR_H 1; \
+	if ( test -f $(INCLUDE)/sys/ndir.h || test -f $(INCLUDE)/$(DEB_HOST_MULTIARCH)/sys/ndir.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_NDIR_H 1; \
               else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_NDIR_H 0; fi
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 endif
 	$(ECHOGS_XE) -a $(gconfig__h)
 
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 ifndef HAVE_SYS_TIME_H
-	if ( test -f $(INCLUDE)/sys/time.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIME_H 1; \
+	if ( test -f $(INCLUDE)/sys/time.h || test -f $(INCLUDE)/$(DEB_HOST_MULTIARCH)/sys/time.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIME_H 1; \
               else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIME_H 0; fi
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 endif
 	$(ECHOGS_XE) -a $(gconfig__h)
 
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 ifndef HAVE_SYS_TIMES_H
-	if ( test -f $(INCLUDE)/sys/times.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIMES_H 1; \
+	if ( test -f $(INCLUDE)/sys/times.h || test -f $(INCLUDE)/$(DEB_HOST_MULTIARCH)/sys/times.h ); then $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIMES_H 1; \
               else $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIMES_H 0; fi
 	$(ECHOGS_XE) -a $(gconfig__h) -x 23 endif
 	$(ECHOGS_XE) -a $(gconfig__h)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin