diff options
Diffstat (limited to 'nwn-gog/nwmouse_install.pl.patch')
-rw-r--r-- | nwn-gog/nwmouse_install.pl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nwn-gog/nwmouse_install.pl.patch b/nwn-gog/nwmouse_install.pl.patch new file mode 100644 index 0000000..7aef238 --- /dev/null +++ b/nwn-gog/nwmouse_install.pl.patch @@ -0,0 +1,13 @@ +diff --git a/nwmouse_install.pl b/nwmouse_install.pl +index 51b0988..44ca784 100755 +--- a/nwmouse_install.pl ++++ b/nwmouse_install.pl +@@ -54,7 +54,7 @@ $command = sprintf("%s %s %s -I%s/libdis -g -fPIC -shared -Wl,-soname,libdisasm. + printf("NOTICE: NWMouse: Executing: %s\n", $command); + system($command); + +-$command = sprintf("%s %s %s -shared -g -I/usr/include/libelf -I%s/libdis -o %s/nwmouse.so %s/nwmouse_cookie.c %s/nwmouse_link.S %s/nwmouse_link2.S %s/nwmouse.c %s -ldl -lelf -Xlinker -L/usr/X11R6/lib -lXcursor -lSDL", ++$command = sprintf("%s %s %s -shared -g -I/usr/include/libelf -I%s/libdis -o %s/nwmouse.so %s/nwmouse_cookie.c %s/nwmouse_link.S %s/nwmouse_link2.S %s/nwmouse.c %s -ldl -lelf -Xlinker -L/usr/X11R6/lib -lXcursor -lSDL -Wno-error=incompatible-pointer-types", + $gcc, $cflags, $x86_64, $ndir, $ndir, $ndir, $ndir, $ndir, $ndir, $ldflags ); + + printf("NOTICE: NWMouse: Executing: %s\n", $command); |