summaryrefslogtreecommitdiff
path: root/x11-libs/librfm/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-21 02:22:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-21 02:22:31 +0000
commit3b32ae7547d742f6e65770361188670710bec186 (patch)
tree51b5a45e8291644df70197de17f086e1640e9c7e /x11-libs/librfm/files
parentdd03974882f85ca04e35cfbc97f7ff756f5d5c20 (diff)
gentoo auto-resync : 21:02:2023 - 02:22:31
Diffstat (limited to 'x11-libs/librfm/files')
-rw-r--r--x11-libs/librfm/files/librfm-5.3.16.3-C99-decls.patch42
-rw-r--r--x11-libs/librfm/files/librfm-5.3.16.3-autotools.patch10
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-libs/librfm/files/librfm-5.3.16.3-C99-decls.patch b/x11-libs/librfm/files/librfm-5.3.16.3-C99-decls.patch
new file mode 100644
index 000000000000..784647ca92f1
--- /dev/null
+++ b/x11-libs/librfm/files/librfm-5.3.16.3-C99-decls.patch
@@ -0,0 +1,42 @@
+--- a/modules/settings-module.i
++++ b/modules/settings-module.i
+@@ -36,7 +36,7 @@
+ #define SHRED_OPTIONS rfm_void(RFM_MODULE_DIR, "callbacks","get_shred_options")
+ */
+
+-static GtkWidget *rfm_check_button_new(){
++static GtkWidget *rfm_check_button_new(void){
+ return gtk_check_button_new ();
+ }
+ static void
+@@ -374,7 +374,7 @@
+ }
+
+
+-static gchar **get_program_options(i){
++static gchar **get_program_options(gint i){
+ if (i >= RFM_OPTIONS) return NULL;
+ environ_t *environ_v = rfm_get_environ();
+ return environ_v[i].env_options;
+--- a/primary/primary-icons.i
++++ b/primary/primary-icons.i
+@@ -181,7 +181,7 @@
+
+
+ static void
+-init_lite_hash () {
++init_lite_hash (void) {
+ // g_once init
+ static gsize initialized = 0;
+ if (g_once_init_enter (&initialized)){
+--- a/primary/primary.c
++++ b/primary/primary.c
+@@ -1405,7 +1405,7 @@
+ }
+
+ static
+-gint get_paste_length(){
++gint get_paste_length(void){
+ gint fd = shm_open (PASTE_SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR);
+ if(fd < 0){
+ return 0;
diff --git a/x11-libs/librfm/files/librfm-5.3.16.3-autotools.patch b/x11-libs/librfm/files/librfm-5.3.16.3-autotools.patch
new file mode 100644
index 000000000000..4913468741d1
--- /dev/null
+++ b/x11-libs/librfm/files/librfm-5.3.16.3-autotools.patch
@@ -0,0 +1,10 @@
+--- a/m4/rfm-conditionals.m4
++++ b/m4/rfm-conditionals.m4
+@@ -174,7 +174,6 @@
+ else
+ AC_SUBST(WITH_DEBUG) WITH_DEBUG=no
+ AC_MSG_NOTICE([No debug for you.])
+- CFLAGS="-O2"
+ fi
+ ])
+