summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/kmuddy/files')
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch84
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch11
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch11
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch29
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch24
5 files changed, 159 insertions, 0 deletions
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
new file mode 100644
index 000000000000..428dc94fc789
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
@@ -0,0 +1,84 @@
+--- kmuddy/kmuddy.desktop
++++ kmuddy/kmuddy.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Version=1.0
+-Encoding=UTF-8
+ Name=KMuddy
+ Type=Application
+ Exec=kmuddy -caption "%c" %i %m
+--- libs/kmuddyplugin.desktop
++++ libs/kmuddyplugin.desktop
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=ServiceType
++Name=KMuddy Plugins
+ X-KDE-ServiceType=KMuddy/Plugin
+ X-KDE-Derived=KPluginInfo
+ Comment=KMuddy Plugin
+--- plugins/converter/kmuddyconverterplugin.desktop
++++ plugins/converter/kmuddyconverterplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Profile Converter
+ Comment=This plug-in converts profiles from old KMuddy versions.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
++++ plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Type=Service
+-Comment=The standard mapper tools and views
+ Name=Standard
+ Comment=The standard mapper tools and views
+ ServiceTypes=KMuddy/Mapper/Plugin
+--- plugins/scripting/kmuddyscriptingplugin.desktop
++++ plugins/scripting/kmuddyscriptingplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=External Scripting
+ Comment=Adds support for external scripting.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/strings/kmuddystringsplugin.desktop
++++ plugins/strings/kmuddystringsplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Strings
+ Comment=This plug-in adds many strings functions.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/test/kmuddytestplugin.desktop
++++ plugins/test/kmuddytestplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Testing Plug-in
+ Comment=Testing Plug-in
+ ServiceTypes=KMuddy/Plugin
+--- plugins/vartrigs/kmuddyvartrigplugin.desktop
++++ plugins/vartrigs/kmuddyvartrigplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Variable Triggers
+ Comment=Adds supports for triggers that fire off variable changes.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/varviewer/kmuddyvarviewerplugin.desktop
++++ plugins/varviewer/kmuddyvarviewerplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Variable Viewer
+ Comment=This plug-in provides a variable viewer window.
+ ServiceTypes=KMuddy/Plugin
+--- template/kmuddyplugintemplate.desktop
++++ template/kmuddyplugintemplate.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Plugin Template
+ Comment=Plugin Template
+ ServiceTypes=KMuddy/Plugin
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
new file mode 100644
index 000000000000..34b403c14715
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
@@ -0,0 +1,11 @@
+--- plugins/mapper/filefilters/cmapfilefilterkmudone.cpp.old 2010-06-08 17:55:09.000000000 +0200
++++ plugins/mapper/filefilters/cmapfilefilterkmudone.cpp 2010-06-08 17:55:49.000000000 +0200
+@@ -215,7 +215,7 @@
+
+ // Set room properties
+ room->setUseDefaultCol(in_room.useDefaultCol);
+- room->setColor(QColor::QColor(in_room.red,in_room.green,in_room.blue));
++ room->setColor(QColor(in_room.red,in_room.green,in_room.blue));
+ room->setLabel(label);
+ room->setDescription(description);
+
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
new file mode 100644
index 000000000000..73ca381264bc
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/331317
+
+--- doc/kmuddy/index.docbook
++++ doc/kmuddy/index.docbook
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+ <!ENTITY kmuddy '<application>KMuddy</application>'>
+ <!ENTITY kapp "&kmuddy;">
+ <!ENTITY % addindex "IGNORE">
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
new file mode 100644
index 000000000000..c4838aa4b89d
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
@@ -0,0 +1,29 @@
+--- plugins/scripting/cunixsocket.cpp
++++ plugins/scripting/cunixsocket.cpp
+@@ -40,12 +40,21 @@
+ varlist = 0;
+ connected = false;
+
+- //first of all, we need a file name
+- char *fname = tempnam ("/tmp", "km");
+- if (fname != 0) //only if it didn't fail
++ //22 = strlen(form) + strlen(/sock) + 1
++ char form[]="/tmp/kmuddyXXXXXX", *dirname, sockname[22];
++ dirname = mkdtemp(form);
++
++ if (dirname != NULL) //only if it didn't fail
+ {
+- name = fname;
+- free (fname);
++
++ strcpy(sockname, dirname);
++ strcat(dirname, "/sock");
++
++ name = dirname;
++ free (form);
++ free (dirname);
++ free (sockname);
++
+ //now that we have the name, we create a socket and set some parameters
+ id = socket (PF_UNIX, SOCK_STREAM, 0);
+ sa.sun_family = AF_UNIX;
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch
new file mode 100644
index 000000000000..18c68c4742df
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch
@@ -0,0 +1,24 @@
+diff -ruN kmuddy-1.0.1.orig/kmuddy/CMakeLists.txt kmuddy-1.0.1/kmuddy/CMakeLists.txt
+--- kmuddy-1.0.1.orig/kmuddy/CMakeLists.txt 2009-03-14 13:24:55.000000000 +0100
++++ kmuddy-1.0.1/kmuddy/CMakeLists.txt 2012-01-01 11:40:31.000000000 +0100
+@@ -49,7 +49,7 @@
+
+ kde4_add_executable(kmuddy ${kmuddy_SRCS})
+
+-set (KMUDDY_LIBRARIES kmuddycore dialogs ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBS})
++set (KMUDDY_LIBRARIES kmuddycore dialogs ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBS} z)
+
+ if (MXP_FOUND)
+ set (KMUDDY_LIBRARIES ${KMUDDY_LIBRARIES} ${MXP_LIBRARIES})
+diff -ruN kmuddy-1.0.1.orig/plugins/mapper/plugins/speedwalk/CMakeLists.txt kmuddy-1.0.1/plugins/mapper/plugins/speedwalk/CMakeLists.txt
+--- kmuddy-1.0.1.orig/plugins/mapper/plugins/speedwalk/CMakeLists.txt 2009-01-10 12:40:59.000000000 +0100
++++ kmuddy-1.0.1/plugins/mapper/plugins/speedwalk/CMakeLists.txt 2012-01-01 13:15:35.000000000 +0100
+@@ -17,7 +17,7 @@
+
+ kde4_add_plugin(kmuddymapper_speedwalk WITH_PREFIX ${kmuddymapper_speedwalk_PART_SRCS})
+
+-target_link_libraries(kmuddymapper_speedwalk ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBS} kmuddymapper )
++target_link_libraries(kmuddymapper_speedwalk kmuddymapper kmuddycore ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBS} )
+
+ install(TARGETS kmuddymapper_speedwalk DESTINATION ${PLUGIN_INSTALL_DIR} )
+