aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-08 10:45:44 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-08 10:45:44 +0000
commitc791b92bd32070ebde0250ee4807920f49b8e0a0 (patch)
treeec5009b04b14ef9bd0242a6c14493ec8568414ab
parent48e177ea8b2f8fcf9226121d0a7ec98a85fe7cff (diff)
Notes
-rw-r--r--graphics/glew/files/patch-Makefile19
-rw-r--r--x11/xbelld/files/patch-xbelld.c32
2 files changed, 43 insertions, 8 deletions
diff --git a/graphics/glew/files/patch-Makefile b/graphics/glew/files/patch-Makefile
index da5238fb7e31..7ef8e4dc9cc5 100644
--- a/graphics/glew/files/patch-Makefile
+++ b/graphics/glew/files/patch-Makefile
@@ -1,6 +1,9 @@
---- Makefile.orig Sun Dec 14 18:21:44 2003
-+++ Makefile Sun Jan 25 07:38:41 2004
-@@ -83,6 +83,26 @@
+
+$FreeBSD$
+
+--- Makefile.orig
++++ Makefile
+@@ -143,6 +143,26 @@
else
# ----------------------------------------------------------------------------
@@ -27,20 +30,20 @@
# Irix
# ----------------------------------------------------------------------------
ifeq ($(patsubst IRIX%,IRIX,$(SYSTEM)), IRIX)
-@@ -158,6 +179,7 @@
+@@ -228,6 +248,7 @@
endif
endif
endif
+endif
- AR = ar
- INSTALL = install
-@@ -171,7 +193,7 @@
+ ifeq (undefined, $(origin SHARED_OBJ_EXT))
+ SHARED_OBJ_EXT = o
+@@ -245,7 +266,7 @@
STRIP = -s
endif
INCLUDE = -Iinclude
-CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
-+CFLAGS += $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
++CFLAGS += $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA) -fPIC
LIB.SRCS = src/glew.c
LIB.OBJS = $(LIB.SRCS:.c=.o)
diff --git a/x11/xbelld/files/patch-xbelld.c b/x11/xbelld/files/patch-xbelld.c
new file mode 100644
index 000000000000..280dee3b4871
--- /dev/null
+++ b/x11/xbelld/files/patch-xbelld.c
@@ -0,0 +1,32 @@
+
+$FreeBSD$
+
+--- xbelld.c.orig
++++ xbelld.c
+@@ -268,7 +268,7 @@
+ u_int i;
+
+ if (!hp->h_size)
+- return NULL;
++ return False;
+ i = hp->h_hash(data) % hp->h_size;
+ if (!TAILQ_EMPTY(&(hp->h_buckets[i])))
+ {
+@@ -914,7 +914,7 @@
+ close(dfd);
+ for (nent = 0, dep = (struct dirent *)dbuf;
+ (char *)dep - dbuf < nb;
+- ++nent, (char *)dep+= dep->d_reclen)
++ ++nent, dep+= dep->d_reclen)
+ ;
+ _hash_resize(&(_bd.bd_sndhash), nent * 2);
+ if (_bd.bd_defsnd)
+@@ -924,7 +924,7 @@
+ }
+ for (dep = (struct dirent *)dbuf;
+ (char *)dep - dbuf < nb;
+- (char *)dep+= dep->d_reclen)
++ dep+= dep->d_reclen)
+ {
+ char *suf;
+ static const char *sufs[] = AUDIO_SUFS;