From 6f723e29fc4b85bb35096a4ee60120021940fd52 Mon Sep 17 00:00:00 2001 From: Andrey Slusar Date: Sun, 31 May 2009 09:13:59 +0000 Subject: - Fix libdir detection - Delete `-Wno-pointer-sign' for build with gcc<4 (1) Reported by: pav (1) --- graphics/ida/files/patch-GNUmakefile | 14 +++++++++++--- graphics/ida/files/patch-mk::Autoconf.mk | 13 +++++++++++-- 2 files changed, 22 insertions(+), 5 deletions(-) (limited to 'graphics/ida') diff --git a/graphics/ida/files/patch-GNUmakefile b/graphics/ida/files/patch-GNUmakefile index cae5c7832a3c..22117e9852ba 100644 --- a/graphics/ida/files/patch-GNUmakefile +++ b/graphics/ida/files/patch-GNUmakefile @@ -1,6 +1,14 @@ ---- GNUmakefile.orig 2009-05-24 18:44:13.000000000 +0300 -+++ GNUmakefile 2009-05-24 18:44:49.000000000 +0300 -@@ -130,8 +130,8 @@ +--- GNUmakefile.orig 2006-06-13 16:35:48.000000000 +0300 ++++ GNUmakefile 2009-05-31 12:06:34.000000000 +0300 +@@ -8,7 +8,6 @@ + + # fixup flags + CFLAGS += -DVERSION='"$(VERSION)"' -I$(srcdir) +-CFLAGS += -Wno-pointer-sign + + # default target + all: build +@@ -130,8 +129,8 @@ OBJS_IDA += $(call ac_lib_mkvar,$(ida_libs),OBJS) # for X11 + Motif diff --git a/graphics/ida/files/patch-mk::Autoconf.mk b/graphics/ida/files/patch-mk::Autoconf.mk index 7aaa5044d104..efd0aea64779 100644 --- a/graphics/ida/files/patch-mk::Autoconf.mk +++ b/graphics/ida/files/patch-mk::Autoconf.mk @@ -1,5 +1,14 @@ ---- mk/Autoconf.mk.old 2009-05-24 18:47:11.000000000 +0300 -+++ mk/Autoconf.mk 2009-05-24 18:49:32.000000000 +0300 +--- mk/Autoconf.mk.orig 2008-06-09 17:56:36.000000000 +0300 ++++ mk/Autoconf.mk 2009-05-28 08:51:09.000000000 +0300 +@@ -109,7 +109,7 @@ + # $(call ac_fini)) + ac_lib64 = $(shell \ + $(call ac_init,for libdir name);\ +- $(call ac_s_cmd,/sbin/ldconfig -p | grep -q lib64 &&\ ++ $(call ac_s_cmd,$(CC) -print-search-dirs | grep -q lib64 &&\ + echo "lib64" || echo "lib");\ + $(call ac_fini)) + @@ -118,9 +118,9 @@ $(call ac_init,for X11 app-defaults prefix);\ $(call ac_s_cmd, for dir in \ -- cgit v1.2.3