summaryrefslogtreecommitdiff
path: root/misc/buffer
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-04-10 21:36:53 +0000
committertron <tron@pkgsrc.org>1998-04-10 21:36:53 +0000
commitfb2485543edfc9ee3854494597fd879f38c11f66 (patch)
tree8147e09a69d44e3866bec3841b5624f88c1f0341 /misc/buffer
parent37cfd6c5238cbea33e68d9566950e7fae0e0c291 (diff)
downloadpkgsrc-fb2485543edfc9ee3854494597fd879f38c11f66.tar.gz
Remove some binary garbage, compile with "-O".
Diffstat (limited to 'misc/buffer')
-rw-r--r--misc/buffer/patches/patch-aa57
1 files changed, 34 insertions, 23 deletions
diff --git a/misc/buffer/patches/patch-aa b/misc/buffer/patches/patch-aa
index 435b930bbcc..90b8a49c471 100644
--- a/misc/buffer/patches/patch-aa
+++ b/misc/buffer/patches/patch-aa
@@ -1,7 +1,29 @@
-]2;feyrer@yui:/usr/pkgsrc/misc/buffer/work ]1;yui--- Makefile.orig Wed Jul 14 17:59:17 1993
-+++ Makefile Wed Mar 4 16:34:17 1998
-@@ -7,10 +7,10 @@
- CFLAGS=
+--- buffer.c.orig Wed Jul 14 17:59:17 1993
++++ buffer.c Wed Mar 4 16:32:52 1998
+@@ -384,6 +384,7 @@
+ }
+
+ /* The interrupt handler */
++void
+ shutdown()
+ {
+ static int shutting;
+@@ -400,6 +401,7 @@
+ }
+
+ /* Shutdown because the child has ended */
++void
+ child_shutdown()
+ {
+ /* Find out which child has died. (They may not be my
+--- Makefile.orig Wed Jul 14 17:59:17 1993
++++ Makefile Fri Apr 10 23:31:14 1998
+@@ -4,13 +4,13 @@
+ # You should also add -DSYS5 for Ultrix, AIX, and Solarix.
+ # Add -DDEF_SHMEM=n if you can only have n bytes of shared memory
+ # (eg: -DDEF_SHMEM=524288 if you can only have half a meg.)
+-CFLAGS=
++CFLAGS=-O
# Where to install buffer and its manual pages
-INSTBIN=/usr/local/bin
@@ -14,7 +36,14 @@
RM=/bin/rm
ALL=README buffer.man Makefile buffer.c sem.c COPYING
-@@ -24,12 +24,8 @@
+@@ -18,18 +18,14 @@
+ all: buffer
+
+ buffer: buffer.o sem.o
+- $(CC) -o buffer $(CFLAGS) buffer.o sem.o
++ $(CC) -o buffer buffer.o sem.o
+
+ clean:
$(RM) -f *.o core buffer .merrs
install: buffer
@@ -29,21 +58,3 @@
buffer.tar: $(ALL)
$(RM) -f buffer.tar
---- buffer.c.orig Wed Jul 14 17:59:17 1993
-+++ buffer.c Wed Mar 4 16:32:52 1998
-@@ -384,6 +384,7 @@
- }
-
- /* The interrupt handler */
-+void
- shutdown()
- {
- static int shutting;
-@@ -400,6 +401,7 @@
- }
-
- /* Shutdown because the child has ended */
-+void
- child_shutdown()
- {
- /* Find out which child has died. (They may not be my