aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ripperx-missing-file.patch
blob: 6eb197fd7a979889300e35690c7145989b673f40 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
This patch adds a header file that is present in the ripperx git and needed
for inclusion, but missing in the distribution tarball.

diff -u -r -N ripperx-2.8.0.orig/src/gtk_cpp_workaround.h ripperx-2.8.0/src/gtk_cpp_workaround.h
--- ripperx-2.8.0.orig/src/gtk_cpp_workaround.h	1970-01-01 01:00:00.000000000 +0100
+++ ripperx-2.8.0/src/gtk_cpp_workaround.h	2015-07-24 21:09:16.548476337 +0200
@@ -0,0 +1,39 @@
+#ifndef gtk_cpp_workaround_h
+#define gtk_cpp_workaround_h
+#ifdef __cplusplus
+//proto is wrong, override here for C++
+namespace 
+{
+  
+inline void gtk_table_attach (GtkTable *table,
+		       GtkWidget *child,
+		       guint left_attach,
+		       guint right_attach,
+		       guint top_attach,
+		       guint bottom_attach,
+		       //GtkAttachOptions xoptions,
+		       //GtkAttachOptions yoptions,
+		       guint xoptions, guint yoptions,
+		       guint xpadding,
+		       guint ypadding
+		       ) 
+{
+  gtk_table_attach(table,
+		   child,
+		   left_attach,
+		   right_attach,
+		   top_attach,
+		   bottom_attach,
+		   (GtkAttachOptions)xoptions, 
+		   (GtkAttachOptions)yoptions,
+		   xpadding,
+		   ypadding
+		   );
+  
+    };
+
+
+}
+
+#endif
+#endif
on-2.7)[patches]: Add new patch above, [arguments]: Set _PYTHON_HOST_PLATFORM env variable when cross compiling. Mathieu Othacehe 2019-02-23gnu: Python: Consolidate test patches....While at it, adjust patches for -p1 patch flag. * gnu/packages/patches/python-fix-tests.patch: Delete file. Move contents ... * gnu/packages/patches/python-3-fix-tests.patch: ... here. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python.scm (python-3.7)[source](patches): Remove obsolete. [source](patch-flags): Remove. * gnu/packages/patches/python-3-deterministic-build-info.patch, gnu/packages/patches/python-3-search-paths.patch: Adjust for `patch -p1`. Marius Bakke 2019-02-09gnu: python: Fix FTBFS with GCC >= 6....* gnu/packages/patches/python-3-search-paths.patch: s/C_INCLUDE_PATH/CPATH. * gnu/packages/patches/python-2.7-search-paths.patch: Ditto. Marius Bakke 2018-03-15gnu: python: Update to 3.6.4....* gnu/packages/patches/python-3-search-paths.patch: Adjust context. * gnu/packages/python.scm (python): Update to 3.6.4. [source]: Re-enable test_socket.py. Marius Bakke