Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
HOMEPAGE="http://vu1tur.eu.org/tools/" | ||
SRC_URI="http://vu1tur.eu.org/tools/${P}.tar.gz" | ||
|
||
CATEGORY="Utils" | ||
SUMMARY="Apple's compressed dmg to standard (hfsplus) image disk file convert tool" | ||
DESCRIPTION="DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file | ||
convert tool." | ||
|
||
src_compile() | ||
{ | ||
cd ${B} | ||
lndirs | ||
cygmake | ||
} | ||
|
||
src_install() | ||
{ | ||
cd ${B} | ||
dobin *.exe | ||
doman *.1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- origsrc/dmg2img-1.6.5/Makefile 2010-03-25 04:38:08.000000000 +0900 | ||
+++ src/dmg2img-1.6.5/Makefile 2015-05-08 23:20:38.793263300 +0900 | ||
@@ -1,5 +1,5 @@ | ||
#CC = gcc | ||
-CFLAGS = -O2 -Wall | ||
+CFLAGS = -O3 -Wall | ||
BIN_DIR = ${DESTDIR}/usr/bin | ||
|
||
all: dmg2img vfdecrypt | ||
--- origsrc/dmg2img-1.6.5/vfdecrypt.c 2010-03-25 02:52:45.000000000 +0900 | ||
+++ src/dmg2img-1.6.5/vfdecrypt.c 2015-05-08 23:21:43.380574700 +0900 | ||
@@ -331,8 +331,6 @@ int main(int argc, char *argv[]) { | ||
int hdr_version, c, optError = 0; | ||
char inFile[512], outFile[512], passphrase[512], cmd[640]; | ||
int iflag = 0, oflag = 0, pflag = 0, kflag = 0, verbose = 0; | ||
- extern char *optarg; | ||
- extern int optind, optopt; | ||
|
||
memset(inFile, 0, 512); | ||
memset(outFile, 0, 512); |
This file was deleted.
Oops, something went wrong.