diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/patches/fix_encoding_bug_1572290-0.41.4.patch | 37 | ||||
-rw-r--r-- | packages/patches/make_depend_fixes-0.41-test06.patch | 42 |
2 files changed, 0 insertions, 79 deletions
diff --git a/packages/patches/fix_encoding_bug_1572290-0.41.4.patch b/packages/patches/fix_encoding_bug_1572290-0.41.4.patch deleted file mode 100644 index 9e8d07ee..00000000 --- a/packages/patches/fix_encoding_bug_1572290-0.41.4.patch +++ /dev/null @@ -1,37 +0,0 @@ -Index: t_tkcmd.c -=================================================================== ---- t_tkcmd.c (revision 9782) -+++ t_tkcmd.c (working copy) -@@ -509,10 +509,14 @@ - - static int pdCmd(ClientData cd, Tcl_Interp *interp, int argc, char **argv) - { -+ Tcl_DString dstring; /* used to convert the Tcl string to the OS encoding */ -+ char *dstring_char; - if (argc == 2) - { - int n = strlen(argv[1]); -- if (send(sockfd, argv[1], n, 0) < n) -+ /* NULL as first arg means use the current system encoding */ -+ dstring_char = Tcl_UtfToExternalDString(NULL, argv[1], -1, &dstring); -+ if (send(sockfd, dstring_char, n, 0) < n) - { - perror("stdout"); - tcl_mess("exit\n"); -@@ -534,12 +538,15 @@ - if (i > 1) strcat(buf, " "); - strcat(buf, argv[i]); - } -- if (send(sockfd, buf, strlen(buf), 0) < 0) -+ /* NULL as first arg means use the current system encoding */ -+ dstring_char = Tcl_UtfToExternalDString(NULL, buf, -1, &dstring); -+ if (send(sockfd, dstring_char, strlen(dstring_char), 0) < 0) - { - perror("stdout"); - tcl_mess("exit\n"); - } - } -+ Tcl_DStringFree(&dstring); - return (TCL_OK); - } - diff --git a/packages/patches/make_depend_fixes-0.41-test06.patch b/packages/patches/make_depend_fixes-0.41-test06.patch deleted file mode 100644 index 14245433..00000000 --- a/packages/patches/make_depend_fixes-0.41-test06.patch +++ /dev/null @@ -1,42 +0,0 @@ -Index: makefile.in -=================================================================== -RCS file: /cvsroot/pure-data/pd/src/makefile.in,v -retrieving revision 1.17 -diff -u -w -r1.17 makefile.in ---- makefile.in 2 Aug 2007 00:33:50 -0000 1.17 -+++ makefile.in 4 Dec 2007 23:56:34 -0000 -@@ -42,6 +42,9 @@ - - ASIOOBJ = $(ASIOSRC:.cpp=.o) - -+HEADERS = g_all_guis.h m_imp.h s_audio_alsa.h s_audio_paring.h t_tk.h \ -+ g_canvas.h m_pd.h s_audio_pablio.h s_stuff.h -+ - SRC = g_canvas.c g_graph.c g_text.c g_rtext.c g_array.c g_template.c g_io.c \ - g_scalar.c g_traversal.c g_guiconnect.c g_readwrite.c g_editor.c \ - g_all_guis.c g_bang.c g_hdial.c g_hslider.c g_mycanvas.c g_numbox.c \ -@@ -197,12 +200,10 @@ - local-clean: - -rm -f ../obj/* $(BIN_DIR)/pd $(BIN_DIR)/$(GUINAME) $(BIN_DIR)/pdsend \ - $(BIN_DIR)/pdreceive $(BIN_DIR)/pd-watchdog m_stamp.c -- -rm -f `find ../portaudio -name "*.o"` -+ -rm -f -- $(OBJ) $(GOBJ) - -rm -f *~ - -(cd ../doc/6.externs; rm -f *.pd_linux) - -rm -f makefile.dependencies -- touch makefile.dependencies -- chmod 666 makefile.dependencies - - extra-clean: - -rm -f `find ../extra/ -name "*.pd_*"` -@@ -220,8 +221,8 @@ - - depend: makefile.dependencies - --makefile.dependencies: makefile -- $(CC) $(CPPFLAGS) -M $(SRC) > makefile.dependencies -+makefile.dependencies: $(SRC) $(HEADERS) -+ $(CC) $(CPPFLAGS) -M $(SRC) $(HEADERS) > makefile.dependencies - - uninstall: - rm -f -r $(libpddir) |