diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/cdrdao | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/cdrdao')
-rw-r--r-- | homebrew/cdrdao/.beer | 69 | ||||
-rw-r--r-- | homebrew/cdrdao/.make.sh-auto | 0 | ||||
-rw-r--r-- | homebrew/cdrdao/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/cdrdao/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/cdrdao/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/cdrdao/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/cdrdao/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/cdrdao/patches.sh | 24 |
8 files changed, 98 insertions, 0 deletions
diff --git a/homebrew/cdrdao/.beer b/homebrew/cdrdao/.beer new file mode 100644 index 000000000..be3b57840 --- /dev/null +++ b/homebrew/cdrdao/.beer @@ -0,0 +1,69 @@ +{ + "name": "Cdrdao", + "description": "Record CDs in Disk-At-Once mode", + "url": "https://downloads.sourceforge.net/project/cdrdao/cdrdao-1.2.4.tar.bz2", + "mirror": null, + "homepage": "https://cdrdao.sourceforge.io/", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "lame", + "build-depend": false + }, + { + "depend": "libao", + "build-depend": false + }, + { + "depend": "libvorbis", + "build-depend": false + }, + { + "depend": "mad", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://sourceforge.net/p/cdrdao/patches/_discuss/thread/205354b0/141e/attachment/cdrdao-mac.patch", + "strip": "1" + }, + { + "url": null, + "strip": "0" + }, + { + "url": null, + "data": [ + "--- dao/main.cc\t2013-11-26 12:00:00.000000000 -0400\n", + "+++ dao/main.cc\t2013-11-26 12:00:00.000000000 -0400\n", + "@@ -1242,7 +1242,7 @@\n", + " const char* getDefaultDevice(DaoDeviceType req)\n", + " {\n", + " int i, len;\n", + "- static char buf[128];\n", + "+ static char buf[1024];\n", + " \n", + " // This function should not be called if the command issues\n", + " // doesn't actually require a device.\n", + "@@ -1270,7 +1270,7 @@\n", + " \t if (req == NEED_CDRW_W && !rww)\n", + " \t continue;\n", + " \n", + "-\t strncpy(buf, sdata[i].dev.c_str(), 128);\n", + "+\t strncpy(buf, sdata[i].dev.c_str(), 1024);\n", + " \t delete[] sdata;\n", + " \t return buf;\n", + " \t}\n" + ] + } + ], + "install": [], + "version": "1.2.4", + "file": "cdrdao.rb" +}
\ No newline at end of file diff --git a/homebrew/cdrdao/.make.sh-auto b/homebrew/cdrdao/.make.sh-auto new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/homebrew/cdrdao/.make.sh-auto diff --git a/homebrew/cdrdao/_metadata/description b/homebrew/cdrdao/_metadata/description new file mode 100644 index 000000000..eee60f83c --- /dev/null +++ b/homebrew/cdrdao/_metadata/description @@ -0,0 +1 @@ +Record CDs in Disk-At-Once mode diff --git a/homebrew/cdrdao/_metadata/homepage b/homebrew/cdrdao/_metadata/homepage new file mode 100644 index 000000000..9dac3bb65 --- /dev/null +++ b/homebrew/cdrdao/_metadata/homepage @@ -0,0 +1 @@ +https://cdrdao.sourceforge.io/ diff --git a/homebrew/cdrdao/_metadata/name b/homebrew/cdrdao/_metadata/name new file mode 100644 index 000000000..14e41bdab --- /dev/null +++ b/homebrew/cdrdao/_metadata/name @@ -0,0 +1 @@ +Cdrdao diff --git a/homebrew/cdrdao/_metadata/version b/homebrew/cdrdao/_metadata/version new file mode 100644 index 000000000..e8ea05db8 --- /dev/null +++ b/homebrew/cdrdao/_metadata/version @@ -0,0 +1 @@ +1.2.4 diff --git a/homebrew/cdrdao/download.sh b/homebrew/cdrdao/download.sh new file mode 100755 index 000000000..67126436a --- /dev/null +++ b/homebrew/cdrdao/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/cdrdao/cdrdao-1.2.4.tar.bz2
\ No newline at end of file diff --git a/homebrew/cdrdao/patches.sh b/homebrew/cdrdao/patches.sh new file mode 100755 index 000000000..3033f3737 --- /dev/null +++ b/homebrew/cdrdao/patches.sh @@ -0,0 +1,24 @@ +wget https://sourceforge.net/p/cdrdao/patches/_discuss/thread/205354b0/141e/attachment/cdrdao-mac.patch +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +--- dao/main.cc 2013-11-26 12:00:00.000000000 -0400 ++++ dao/main.cc 2013-11-26 12:00:00.000000000 -0400 +@@ -1242,7 +1242,7 @@ + const char* getDefaultDevice(DaoDeviceType req) + { + int i, len; +- static char buf[128]; ++ static char buf[1024]; + + // This function should not be called if the command issues + // doesn't actually require a device. +@@ -1270,7 +1270,7 @@ + if (req == NEED_CDRW_W && !rww) + continue; + +- strncpy(buf, sdata[i].dev.c_str(), 128); ++ strncpy(buf, sdata[i].dev.c_str(), 1024); + delete[] sdata; + return buf; + } +EOF |