aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xmbmon/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 01:08:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-10-12 01:08:04 +0000
commita33a3f9264c8c9d506a06fae1b7f89ee071c9917 (patch)
tree3681760843d23144994884cbce25b3b1e6352101 /sysutils/xmbmon/files
parentf2e5f2c600ac8ccb5478ec1f63f00f842e47029a (diff)
downloadports-a33a3f9264c8c9d506a06fae1b7f89ee071c9917.tar.gz
ports-a33a3f9264c8c9d506a06fae1b7f89ee071c9917.zip
Notes
Diffstat (limited to 'sysutils/xmbmon/files')
-rw-r--r--sysutils/xmbmon/files/patch-aa30
-rw-r--r--sysutils/xmbmon/files/patch-testsmb.c1
2 files changed, 9 insertions, 22 deletions
diff --git a/sysutils/xmbmon/files/patch-aa b/sysutils/xmbmon/files/patch-aa
index 58babcd1f9cd..3b4e65a7d9ac 100644
--- a/sysutils/xmbmon/files/patch-aa
+++ b/sysutils/xmbmon/files/patch-aa
@@ -1,31 +1,17 @@
---- Makefile.in.orig Sat May 1 22:20:14 2004
-+++ Makefile.in Mon May 24 22:14:19 2004
-@@ -18,9 +18,9 @@
-
- DEFS=-DHAVE_CONFIG_H -Wall @HOSTDEF@
-
--LIBDIR=/usr/X11R6/lib
-+LIBDIR=$(X11BASE)/lib
- INCDIR=.
--XINCDIR=/usr/X11R6/include
-+XINCDIR=$(X11BASE)/include
- XLIB=-lXaw -lXmu
- EXTENSIONLIB=-lXext
- INCLUDES=-I$(INCDIR)
-@@ -29,9 +29,9 @@
- LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
+--- Makefile.in.orig Fri Aug 13 16:04:21 2004
++++ Makefile.in Fri Sep 17 05:34:33 2004
+@@ -26,8 +26,8 @@
+ LIBSX=$(LIBS) @X_LIBS@ -lXt @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
#CC=/compat/linux/usr/bin/gcc
-CC=@CC@
-CFLAGS=-O3 $(INCLUDES) $(DEFS)
--CFLAGSX=-O3 $(XINCLUDES) $(DEFS)
+CC?=@CC@
-+CFLAGS+= $(INCLUDES) $(DEFS)
-+CFLAGSX= $(XINCLUDES) $(DEFS)
++CFLAGS+=$(INCLUDES) $(DEFS)
+ CFLAGSX=$(CFLAGS) @X_CFLAGS@
LDFLAGS=-s
- LINT=lint
-@@ -40,19 +40,25 @@
+@@ -37,19 +37,25 @@
RM=rm -f
INSTALL=install
@@ -58,7 +44,7 @@
MB_OBJ = getMB-via.o getMB-smb.o getMB-isa.o
SMB_OBJ = smbuses.o smbus_piix4.o smbus_amd.o smbus_ali.o smbus_amd8.o
-@@ -136,12 +142,18 @@
+@@ -133,12 +139,18 @@
$(RM) Makefile config.cache config.log config.h config.status
install: $(PROGRAM)
diff --git a/sysutils/xmbmon/files/patch-testsmb.c b/sysutils/xmbmon/files/patch-testsmb.c
index ceabe4903225..f02a2e6b69cb 100644
--- a/sysutils/xmbmon/files/patch-testsmb.c
+++ b/sysutils/xmbmon/files/patch-testsmb.c
@@ -17,6 +17,7 @@ $FreeBSD$
CloseIO();
-exit:
+ ; /* dummy statment for gcc 3.4 or after */
} /* endo of Big roop for smb_base candidates */
exit (0);