opnsense-ports/sysutils/lxtask/files/patch-src__main.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
450 B
C

--- ./src/main.c.orig 2010-04-12 13:54:32.000000000 +0400
+++ ./src/main.c 2010-09-25 23:50:53.951634770 +0400
@@ -51,7 +51,6 @@
guint refresh_interval;
guint rID;
-int PAGE_SIZE;
int main (int argc, char *argv[])
{
@@ -65,7 +64,6 @@
gtk_set_locale ();
gtk_init (&argc, &argv);
- PAGE_SIZE=sysconf(_SC_PAGESIZE)>>10;
own_uid = getuid();
config_file = g_build_filename(g_get_user_config_dir(), "lxtask.conf", NULL);