summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortron <tron>1998-04-10 21:36:53 +0000
committertron <tron>1998-04-10 21:36:53 +0000
commitf12dbfe82a34ac77d82d818e01daee793410a475 (patch)
tree8147e09a69d44e3866bec3841b5624f88c1f0341 /misc
parent8cea668e9c59234028bb97d592e55898c7f1f633 (diff)
downloadpkgsrc-f12dbfe82a34ac77d82d818e01daee793410a475.tar.gz
Remove some binary garbage, compile with "-O".
Diffstat (limited to 'misc')
-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