Project import generated by Copybara.
NOKEYCHECK=True
GitOrigin-RevId: 4f35d482492bc1d9e0abf627a885c9cb8decc6db
diff --git a/beep.patches/beep-50.patch b/beep.patches/beep-50.patch
new file mode 100644
index 0000000..229bbb6
--- /dev/null
+++ b/beep.patches/beep-50.patch
@@ -0,0 +1,33 @@
+diff -aruN a/Makefile b/Makefile
+--- a/Makefile 2010-08-03 06:57:27.000000000 -0700
++++ b/Makefile 2010-11-04 08:16:03.930197265 -0700
+@@ -1,19 +1,22 @@
+ CC=gcc
+-FLAGS=-Wall
++FLAGS=-Wall ${CFLAGS}
+ EXEC_NAME=beep
+-INSTALL_DIR=/usr/bin
++INSTALL_PREFIX=
++BIN_DIR=${INSTALL_PREFIX}/usr/bin
+ MAN_FILE=beep.1.gz
+-MAN_DIR=/usr/man/man1
++MAN_DIR=${INSTALL_PREFIX}/usr/man/man1
+
+-default : beep
++default : ${EXEC_NAME}
+
+ clean :
+ rm ${EXEC_NAME}
+
+-beep : beep.c
++${EXEC_NAME} : beep.c
+ ${CC} ${FLAGS} -o ${EXEC_NAME} beep.c
+
+-install :
+- cp ${EXEC_NAME} ${INSTALL_DIR}
++install :
++ -mkdir -p ${BIN_DIR}
++ cp ${EXEC_NAME} ${BIN_DIR}
+ # rm -f /usr/man/man1/beep.1.bz2
++ -mkdir -p ${MAN_DIR}
+ cp ${MAN_FILE} ${MAN_DIR}
diff --git a/beep.patches/beep-51.patch b/beep.patches/beep-51.patch
new file mode 100644
index 0000000..d7731d8
--- /dev/null
+++ b/beep.patches/beep-51.patch
@@ -0,0 +1,23 @@
+diff -aruN a/beep.c b/beep.c
+--- a/beep.c 2010-08-03 06:57:27.000000000 -0700
++++ b/beep.c 2010-11-09 17:17:01.000000000 -0800
+@@ -44,8 +44,8 @@
+ resets the counter to the original value, and starts over. The end
+ result of this is a tone at approximately the desired frequency. :)
+ */
+-#ifndef CLOCK_TICK_RATE
+-#define CLOCK_TICK_RATE 1193180
++#ifndef PIT_TICK_RATE
++#define PIT_TICK_RATE 1193180
+ #endif
+
+ #define VERSION_STRING "beep-1.3"
+@@ -100,7 +100,7 @@
+ void do_beep(int freq) {
+ if (console_type == BEEP_TYPE_CONSOLE) {
+ if(ioctl(console_fd, KIOCSOUND, freq != 0
+- ? (int)(CLOCK_TICK_RATE/freq)
++ ? (int)(PIT_TICK_RATE/freq)
+ : freq) < 0) {
+ printf("\a"); /* Output the only beep we can, in an effort to fall back on usefulness */
+ perror("ioctl");
diff --git a/beep.tar.gz b/beep.tar.gz
new file mode 100644
index 0000000..30a7e2c
--- /dev/null
+++ b/beep.tar.gz
Binary files differ
diff --git a/beep.url b/beep.url
new file mode 100644
index 0000000..9f1b697
--- /dev/null
+++ b/beep.url
@@ -0,0 +1 @@
+http://johnath.com/beep/beep-1.3.tar.gz
diff --git a/beep.version b/beep.version
new file mode 100644
index 0000000..7e32cd5
--- /dev/null
+++ b/beep.version
@@ -0,0 +1 @@
+1.3