offrss: unbreak GCC 14, modernize
This commit is contained in:
		
							parent
							
								
									026c8eef87
								
							
						
					
					
						commit
						f5bc547d29
					
				| @ -8,7 +8,7 @@ | ||||
|   libiconv, | ||||
| }: | ||||
| 
 | ||||
| stdenv.mkDerivation rec { | ||||
| stdenv.mkDerivation (finalAttrs: { | ||||
|   pname = "offrss"; | ||||
|   version = "1.3"; | ||||
| 
 | ||||
| @ -28,7 +28,7 @@ stdenv.mkDerivation rec { | ||||
|   # Workaround build failure on -fno-common toolchains: | ||||
|   #   ld: serve_pdf.o:offrss.h:75: multiple definition of `cgi_url_path'; | ||||
|   #     offrss.o:offrss.h:75: first defined here | ||||
|   env.NIX_CFLAGS_COMPILE = "-fcommon"; | ||||
|   env.NIX_CFLAGS_COMPILE = "-fcommon -Wno-error=implicit-function-declaration"; | ||||
| 
 | ||||
|   configurePhase = | ||||
|     '' | ||||
| @ -43,16 +43,16 @@ stdenv.mkDerivation rec { | ||||
|     ''; | ||||
| 
 | ||||
|   src = fetchurl { | ||||
|     url = "http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-${version}.tar.gz"; | ||||
|     sha256 = "1akw1x84jj2m9z60cvlvmz21qwlaywmw18pl7lgp3bj5nw6250p6"; | ||||
|     url = "http://vicerveza.homeunix.net/~viric/soft/offrss/offrss-${finalAttrs.version}.tar.gz"; | ||||
|     hash = "sha256-5oIiDLdFrnEfPfSiwCv3inIcxK+bbgbMT1VISVAPfKo="; | ||||
|   }; | ||||
| 
 | ||||
|   meta = with lib; { | ||||
|   meta = { | ||||
|     homepage = "http://vicerveza.homeunix.net/~viric/cgi-bin/offrss"; | ||||
|     description = "Offline RSS/Atom reader"; | ||||
|     license = licenses.agpl3Plus; | ||||
|     license = lib.licenses.agpl3Plus; | ||||
|     maintainers = [ ]; | ||||
|     platforms = lib.platforms.linux; | ||||
|     mainProgram = "offrss"; | ||||
|   }; | ||||
| } | ||||
| }) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 awwpotato
						awwpotato