aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sjog
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2003-03-10 01:08:10 +0800
committerroberto <roberto@FreeBSD.org>2003-03-10 01:08:10 +0800
commit3d4001f7889441f363702909821a58960d0c0336 (patch)
treea7771fa13528268d05f271be7f7709714c1b484f /sysutils/sjog
parent13e40a524e1dde2d1e1304f4515b9e4184aef19b (diff)
downloadfreebsd-ports-gnome-3d4001f7889441f363702909821a58960d0c0336.tar.gz
freebsd-ports-gnome-3d4001f7889441f363702909821a58960d0c0336.tar.zst
freebsd-ports-gnome-3d4001f7889441f363702909821a58960d0c0336.zip
1. Fix the build under CURRENT
2. make myself maintainer as the previous one has no hardware anymore to test it. Approved by: portmgr(will)
Diffstat (limited to 'sysutils/sjog')
-rw-r--r--sysutils/sjog/Makefile2
-rw-r--r--sysutils/sjog/files/patch-setbrightness::setbrightness.c12
2 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/sjog/Makefile b/sysutils/sjog/Makefile
index 3a55069203c8..f95785f1569f 100644
--- a/sysutils/sjog/Makefile
+++ b/sysutils/sjog/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= alan@clegg.com
+MAINTAINER= roberto@FreeBSD.org
COMMENT= Userland daemon for Sony Vaio Jog Dial
ONLY_FOR_ARCHS= i386
diff --git a/sysutils/sjog/files/patch-setbrightness::setbrightness.c b/sysutils/sjog/files/patch-setbrightness::setbrightness.c
index efe6cbaba3f5..40b9062531dd 100644
--- a/sysutils/sjog/files/patch-setbrightness::setbrightness.c
+++ b/sysutils/sjog/files/patch-setbrightness::setbrightness.c
@@ -1,6 +1,10 @@
---- setbrightness/setbrightness.c.orig Fri Nov 15 12:59:59 2002
-+++ setbrightness/setbrightness.c Fri Nov 15 13:02:36 2002
-@@ -4,41 +4,52 @@
+--- setbrightness/setbrightness.c.orig Sat Jul 28 19:16:22 2001
++++ setbrightness/setbrightness.c Sun Mar 9 16:19:26 2003
+@@ -1,44 +1,56 @@
+ #define _XOPEN_SOURCE 500
++#define __BSD_VISIBLE 1
+ #include <stdio.h>
+ #include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
@@ -59,7 +63,7 @@
while (inw(CST_REG) & 2) usleep(1);
return (inw(DATA_REG)&255);
}
-@@ -52,14 +63,17 @@
+@@ -52,14 +64,17 @@
int main(int argc, char *argv[])
{