aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2009-05-31 17:13:59 +0800
committeranray <anray@FreeBSD.org>2009-05-31 17:13:59 +0800
commit382c7c051293a37c088f5c73406a68962042254f (patch)
treecad47745cfa5ab8fe5f9c3d389aa3a50c3e8d3d2
parent13f76aadbb57822b759b419cd8eae573a9d8167c (diff)
downloadfreebsd-ports-gnome-382c7c051293a37c088f5c73406a68962042254f.tar.gz
freebsd-ports-gnome-382c7c051293a37c088f5c73406a68962042254f.tar.zst
freebsd-ports-gnome-382c7c051293a37c088f5c73406a68962042254f.zip
- Fix libdir detection
- Delete `-Wno-pointer-sign' for build with gcc<4 (1) Reported by: pav (1)
-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 \