diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-05-31 10:20:59 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-05-31 10:20:59 +0000 |
commit | b5f84b72f7d25f87d46c92447bc94b2327694e7d (patch) | |
tree | 7c2308952ab7955233dfa860ecc2ad8412cbffcc /misc/gopod/files/patch-main.c | |
parent | Remove port which has been DEPRECATED for more than six months: (diff) |
new port: misc/gopod
new port: misc/gopod
goPod is a program that allows you to remove the EU Volume limitation
on EU iPod's.
We can't be held responsible for the use you make with this program
or any damage it could cause to your iPod.
It is provided for information purpose only. However, uncapping your
iPod and using it is illegal in France.
goPod is not in any way affiliated with Apple Computer, Inc.
Apple(tm) iPod(tm) are trademarks of Apple Computer, Inc.
WWW: http://http://gopod.free-go.net/
PR: ports/79529
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes:
svn path=/head/; revision=136507
Diffstat (limited to 'misc/gopod/files/patch-main.c')
-rw-r--r-- | misc/gopod/files/patch-main.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/gopod/files/patch-main.c b/misc/gopod/files/patch-main.c new file mode 100644 index 000000000000..8bc6081aeb18 --- /dev/null +++ b/misc/gopod/files/patch-main.c @@ -0,0 +1,32 @@ +--- main.c.orig Wed Nov 3 19:43:23 2004 ++++ main.c Mon Apr 4 10:05:06 2005 +@@ -16,11 +16,11 @@ + #include <gtk/gtk.h> + #include "gfx/mask.xpm" + +-#define GFX_GO "gfx/go.png" +-#define GFX_GO_ "gfx/go_.png" +-#define GFX_NOTDETECTED "gfx/notdetected.png" +-#define GFX_CAPPED "gfx/capped.png" +-#define GFX_UNCAPPED "gfx/uncapped.png" ++#define GFX_GO "%%PREFIX%%/share/gopod/go.png" ++#define GFX_GO_ "%%PREFIX%%/share/gopod/go_.png" ++#define GFX_NOTDETECTED "%%PREFIX%%/share/gopod/notdetected.png" ++#define GFX_CAPPED "%%PREFIX%%/share/gopod/capped.png" ++#define GFX_UNCAPPED "%%PREFIX%%/share/gopod/uncapped.png" + + #if defined(__LINUX__) + #define DEV "/dev/sd%c" +@@ -69,10 +69,10 @@ + { + char x; + +- for (x = START; x <= END; x++) ++ for (x = 0; x <= 15; x++) + { + char devstring[8]; +- sprintf(devstring, DEV, x); ++ sprintf(devstring, "/dev/da%i", x); + dev = open(devstring, O_RDWR); + lseek(dev, FIRMWARE_START, SEEK_CUR); + read(dev, buffer, BLOCK_SIZE); |