1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../sonypid/fixes.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 X11R6 is a relict of the past, X11R7 or better just X11 now ... also we need
18 .../lib64 on many architectures and last but not least gcc-4.1 warns about
19 missing sentinal due 0 vs. NULL.
21 - Rene Rebe <rene@exactcode.de>
23 diff -u sonypid-1.9.1/Makefile sonypid-1.9.1-fixed/Makefile
24 --- sonypid-1.9.1/Makefile 2004-02-24 11:35:13.000000000 +0100
25 +++ sonypid-1.9.1-fixed/Makefile 2006-03-04 23:16:26.348888000 +0100
27 CFLAGS = -Wall -Wstrict-prototypes -O2 -pipe
28 SONYPIH = /usr/include/linux
30 -LIBS = -L/usr/X11R6/lib -lX11 -lXtst
31 +LIBS = `pkg-config x11 --cflags --libs` -lXtst
34 DESTBIN = $(PREFIX)/bin
35 Only in sonypid-1.9.1-fixed/: sonypi.h
36 Only in sonypid-1.9.1-fixed/: sonypid
37 diff -u sonypid-1.9.1/sonypid.c sonypid-1.9.1-fixed/sonypid.c
38 --- sonypid-1.9.1/sonypid.c 2004-02-24 11:35:13.000000000 +0100
39 +++ sonypid-1.9.1-fixed/sonypid.c 2006-03-04 23:15:56.855044750 +0100
42 case SONYPI_EVENT_CAPTURE_PRESSED:
44 - execlp("xterm", "xterm", 0);
45 + execlp("xterm", "xterm", NULL);
48 verboseEvent("Capture Pressed");
49 Only in sonypid-1.9.1-fixed/: sonypid.o