summaryrefslogtreecommitdiff
path: root/graphics/ida
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2009-05-31 09:13:59 +0000
committerAndrey Slusar <anray@FreeBSD.org>2009-05-31 09:13:59 +0000
commit6f723e29fc4b85bb35096a4ee60120021940fd52 (patch)
tree6aa6c9124e205b24cecc6c7c6c1af507542e7e6d /graphics/ida
parentUpdate to 2.26.2. (diff)
- Fix libdir detection
- Delete `-Wno-pointer-sign' for build with gcc<4 (1) Reported by: pav (1)
Notes
Notes: svn path=/head/; revision=234894
Diffstat (limited to 'graphics/ida')
-rw-r--r--graphics/ida/files/patch-GNUmakefile14
-rw-r--r--graphics/ida/files/patch-mk::Autoconf.mk13
2 files changed, 22 insertions, 5 deletions
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 \