aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2011-09-06 12:05:43 +0800
committervanilla <vanilla@FreeBSD.org>2011-09-06 12:05:43 +0800
commit0819fd60fdce6607b7949f8b8da56a3f7f7bc9c2 (patch)
tree4fb149efc079ae58c8a6bf42fd6e87a6786a82d0 /net-mgmt
parent21a3ec29334d7137d574c1cb5e09418b8adbfd8e (diff)
downloadfreebsd-ports-gnome-0819fd60fdce6607b7949f8b8da56a3f7f7bc9c2.tar.gz
freebsd-ports-gnome-0819fd60fdce6607b7949f8b8da56a3f7f7bc9c2.tar.zst
freebsd-ports-gnome-0819fd60fdce6607b7949f8b8da56a3f7f7bc9c2.zip
Fix build error with clang.
Approved by: maintainer
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arpalert/files/patch-module_example__Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-mgmt/arpalert/files/patch-module_example__Makefile b/net-mgmt/arpalert/files/patch-module_example__Makefile
index a2974e64384e..d3d648ebccda 100644
--- a/net-mgmt/arpalert/files/patch-module_example__Makefile
+++ b/net-mgmt/arpalert/files/patch-module_example__Makefile
@@ -1,10 +1,12 @@
---- module_example/Makefile.orig 2008-03-31 11:36:42.000000000 -0700
-+++ module_example/Makefile 2008-04-22 11:40:52.000000000 -0700
-@@ -2,7 +2,7 @@
+--- module_example/Makefile.orig 2008-04-01 02:36:42.000000000 +0800
++++ module_example/Makefile 2011-09-05 16:49:33.000000000 +0800
+@@ -1,8 +1,8 @@
+ # Copyright (c) 2005-2010 Thierry FOURNIER
# $Id: Makefile 690 2008-03-31 18:36:43Z $
- CC = gcc
+-CC = gcc
-CFLAGS = -Wall -g
++#CC = gcc
+CFLAGS = -Wall -g -fPIC
all: example.so