diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-07-12 23:01:45 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-07-12 23:01:45 +0800 |
commit | 816503d0c5051e291b1c9d153597bec2c0d90e3e (patch) | |
tree | 713942325bda393305edb21d46cd7f38d213aebc /games/scramble/files/patch-src-perm.c | |
parent | 422d267e1126322ee1278071a404f04be2383f95 (diff) | |
download | freebsd-ports-gnome-816503d0c5051e291b1c9d153597bec2c0d90e3e.tar.gz freebsd-ports-gnome-816503d0c5051e291b1c9d153597bec2c0d90e3e.tar.zst freebsd-ports-gnome-816503d0c5051e291b1c9d153597bec2c0d90e3e.zip |
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
- Canonicalize patch names
- Fix DOS line endings in patch files
Diffstat (limited to 'games/scramble/files/patch-src-perm.c')
-rw-r--r-- | games/scramble/files/patch-src-perm.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/scramble/files/patch-src-perm.c b/games/scramble/files/patch-src-perm.c new file mode 100644 index 000000000000..18d88ac83412 --- /dev/null +++ b/games/scramble/files/patch-src-perm.c @@ -0,0 +1,15 @@ +--- src/perm.c.orig Sun Mar 27 03:45:59 2005 ++++ src/perm.c Thu Nov 10 05:23:00 2005 +@@ -149,11 +149,11 @@ + ****************************************************/ + static void resize() + { ++ struct node ** old_table = dictionary; + unsigned int a; + size_t old_size = sizeOfTable, i; + sizeOfTable *= 2; + numOfEntries = 0; +- struct node ** old_table = dictionary; + + dictionary = (struct node **)malloc(sizeof(struct node *) * sizeOfTable); + if(!dictionary) { |