aboutsummaryrefslogtreecommitdiffstats
path: root/games/lianliankan/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/lianliankan/files')
-rw-r--r--games/lianliankan/files/lianliankan.desktop11
-rw-r--r--games/lianliankan/files/patch-Makefile.in11
-rw-r--r--games/lianliankan/files/patch-src_pak_pak.c41
3 files changed, 63 insertions, 0 deletions
diff --git a/games/lianliankan/files/lianliankan.desktop b/games/lianliankan/files/lianliankan.desktop
new file mode 100644
index 00000000000..ad0c6816d61
--- /dev/null
+++ b/games/lianliankan/files/lianliankan.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=lianiankan
+Name[zh_CN]=连连看
+Comment=Choose a pair of same pattern links.
+Comment[zh_TW]=选择一对相同的牌联机
+Exec=llk_linux
+Icon=llk_linux.png
+Terminal=false
+Type=Application
+Categories=GNOME;Application;Game;PuzzleGame;
diff --git a/games/lianliankan/files/patch-Makefile.in b/games/lianliankan/files/patch-Makefile.in
new file mode 100644
index 00000000000..94b43c2977a
--- /dev/null
+++ b/games/lianliankan/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Mon Apr 3 22:53:12 2006
++++ Makefile.in Mon Apr 3 22:54:11 2006
+@@ -213,7 +213,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = po src pixmaps data
+-llk_linuxdocdir = ${prefix}/doc/llk_linux
++llk_linuxdocdir = $(PACKAGE_DATA_DIR)/doc/llk_linux
+ llk_linuxdoc_DATA = \
+ README\
+ COPYING\
diff --git a/games/lianliankan/files/patch-src_pak_pak.c b/games/lianliankan/files/patch-src_pak_pak.c
new file mode 100644
index 00000000000..ad2491d4c86
--- /dev/null
+++ b/games/lianliankan/files/patch-src_pak_pak.c
@@ -0,0 +1,41 @@
+--- src/pak/pak.c.orig Mon Apr 3 21:41:15 2006
++++ src/pak/pak.c Mon Apr 3 21:45:37 2006
+@@ -249,11 +249,7 @@
+
+ /* Set the position in the PAK file for this file to be written at */
+ /* If not GNU system,this should be Pos = Current->dwOffset */
+-#ifdef WIN32
+- Pos = Current->dwOffset;
+-#else
+- Pos.__pos = Current->dwOffset;
+-#endif
++ Pos = Current->dwOffset;
+ fsetpos( PAKStream, &Pos );
+
+ /* Read in the file a byte at a time, encrypt it and write to PAK */
+@@ -410,11 +406,7 @@
+ /* Set the offset in PAK to the beginning of this particular file
+ to be extracted */
+ /* If not GNU system,this should be Pos = Current->dwOffset */
+-#ifdef WIN32
+- Pos = Current->dwOffset;
+-#else
+- Pos.__pos = Current->dwOffset;
+-#endif
++ Pos = Current->dwOffset;
+ fsetpos( ReadStream, &Pos );
+
+ /* Loop through the file by it's size and read from the PAK
+@@ -488,11 +480,7 @@
+ /* Set the offset in PAK to the beginning of this particular file
+ to be extracted */
+ /* If not GNU system,this should be Pos = Current->dwOffset */
+-#ifdef WIN32
+- Pos = Current->dwOffset;
+-#else
+- Pos.__pos = Current->dwOffset;
+-#endif
++ Pos = Current->dwOffset;
+ fsetpos( ReadStream, &Pos );
+
+ /* Loop through the file by it's size and read from the PAK