Package: nvidia-settings
Version: 173.14.09-1
Severity: normal
Tags: patch

Hi,

just found that the static libxnvctrl library is built without -fPIC. Can you 
add this flag, so that it's possible to build the nvidia plugin for sensors-
applet on amd64?
Attached is a quick and dirty patch against debian/rules to do so.

Cheers,
   Stefan.


-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
  APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 
'intrepid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-5-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-settings depends on:
ii  libatk1.0-0     1.23.5-0ubuntu1          The ATK accessibility toolkit
ii  libc6           2.8~20080505-0ubuntu6    GNU C Library: Shared libraries
ii  libcairo2       1.6.4-6ubuntu1           The Cairo 2D vector graphics 
libra
ii  libfontconfig1  2.6.0-1ubuntu2           generic font configuration 
library
ii  libfreetype6    2.3.6-1ubuntu1           FreeType 2 font engine, shared 
lib
ii  libglib2.0-0    2.17.6-0ubuntu1          The GLib library of C routines
ii  libgtk2.0-0     2.13.6-0ubuntu2          The GTK+ graphical user interface 
ii  libpango1.0-0   1.21.3-0ubuntu1          Layout and rendering of 
internatio
ii  libx11-6        2:1.1.4-2                X11 client-side library
ii  libxext6        2:1.0.4-1                X11 miscellaneous extension 
librar
ii  zlib1g          1:1.2.3.3.dfsg-12ubuntu1 compression library - runtime

nvidia-settings recommends no packages.

-- no debconf information
--- rules.orig	2008-08-10 13:16:01.000000000 +0200
+++ rules	2008-08-10 13:15:06.000000000 +0200
@@ -35,7 +35,8 @@
 
 	# Add here commands to compile the package.
 #	cd src/libXNVCtrl && xmkmf
-	$(MAKE) -C src/libXNVCtrl EXTINCSRC=/usr/include/X11/extensions
+	$(MAKE) -C src/libXNVCtrl EXTINCSRC=/usr/include/X11/extensions \
+		CFLAGS="$(CFLAGS) -fPIC"
 	$(MAKE)
 	#/usr/bin/docbook-to-man debian/nvidia-settings.sgml > nvidia-settings.1
 

Reply via email to